ipc: wcd-dsp-glink: fix channels name property
Parse the right channel name property to get the number of wdsp channels supported. Change-Id: I77d367aeab759c3eaf4a42b56f8fcb1261fe6e44 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
5d5790373e
commit
e75ea78848
@@ -569,7 +569,7 @@ static int wdsp_register_rpmsg(struct platform_device *pdev,
|
||||
return -ENOMEM;
|
||||
|
||||
no_of_channels = of_property_count_strings(pdev->dev.of_node,
|
||||
"qcom,wdsp_channles");
|
||||
"qcom,wdsp-channels");
|
||||
if (no_of_channels < 0) {
|
||||
dev_err(&pdev->dev, "%s: channel name parse error %d\n",
|
||||
__func__, no_of_channels);
|
||||
|
Reference in New Issue
Block a user