From 0df392d0d336ef56f063e3b9304e9dd4fba7058e Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Wed, 17 Nov 2021 01:45:49 +0900 Subject: [PATCH] mcc: Fix mcc_num_channels prop on t8103 Bad copy and paste... Signed-off-by: Hector Martin --- src/mcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcc.c b/src/mcc.c index e9b1c32c..c91f8bf9 100644 --- a/src/mcc.c +++ b/src/mcc.c @@ -149,7 +149,7 @@ int mcc_init_t8103(int node, int *path) } u32 val; - if (ADT_GETPROP(adt, node, "#ports", &val) < 0) { + if (ADT_GETPROP(adt, node, "dcs_num_channels", &val) < 0) { printf("MCC: Failed to get dcs_num_channels property!\n"); return -1; }