mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-23 07:03:08 +00:00
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:
parent
4b80041d6d
commit
0df392d0d3
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ int mcc_init_t8103(int node, int *path)
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 val;
|
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");
|
printf("MCC: Failed to get dcs_num_channels property!\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue