mcc: Fix mcc_num_channels prop on t8103

Bad copy and paste...

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-11-17 01:45:49 +09:00
parent 4b80041d6d
commit 0df392d0d3

View file

@ -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;
}