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>
此提交包含在:

提交者
Gerrit - the friendly Code Review server

父節點
5d5790373e
當前提交
e75ea78848
@@ -569,7 +569,7 @@ static int wdsp_register_rpmsg(struct platform_device *pdev,
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
no_of_channels = of_property_count_strings(pdev->dev.of_node,
|
no_of_channels = of_property_count_strings(pdev->dev.of_node,
|
||||||
"qcom,wdsp_channles");
|
"qcom,wdsp-channels");
|
||||||
if (no_of_channels < 0) {
|
if (no_of_channels < 0) {
|
||||||
dev_err(&pdev->dev, "%s: channel name parse error %d\n",
|
dev_err(&pdev->dev, "%s: channel name parse error %d\n",
|
||||||
__func__, no_of_channels);
|
__func__, no_of_channels);
|
||||||
|
新增問題並參考
封鎖使用者