From e75ea788488f37f3ece921c5c56f3395596b06f6 Mon Sep 17 00:00:00 2001 From: Vidyakumar Athota Date: Wed, 14 Mar 2018 15:00:12 -0700 Subject: [PATCH] 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 --- ipc/wcd-dsp-glink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipc/wcd-dsp-glink.c b/ipc/wcd-dsp-glink.c index 04df026579ad..8e1d8a2757da 100644 --- a/ipc/wcd-dsp-glink.c +++ b/ipc/wcd-dsp-glink.c @@ -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);