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>
diff --git a/ipc/wcd-dsp-glink.c b/ipc/wcd-dsp-glink.c
index 04df026..8e1d8a2 100644
--- a/ipc/wcd-dsp-glink.c
+++ b/ipc/wcd-dsp-glink.c
@@ -569,7 +569,7 @@
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);