summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorShengjiu Wang <shengjiu.wang@nxp.com>2018-03-07 11:14:53 +0800
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit158137129127c2a1d81b98d06236c391702a7026 (patch)
treeaac844a0c4157905e36f8d4d051a37d1527f31ff /sound
parent05ebc907229146341c521b53b1116a2346cd403a (diff)
MLK-17156-7: ASoC: imx-rpmsg: use rpmsg codec instead the dummy
use the rpmsg_wm8960 codec instead of the dummy codec Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/fsl/Kconfig1
-rw-r--r--sound/soc/fsl/imx-rpmsg.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index 745139f0a39d..aa81acc9e566 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -401,6 +401,7 @@ config SND_SOC_IMX_RPMSG
depends on OF && I2C && INPUT
select SND_SOC_IMX_PCM_RPMSG
select SND_SOC_FSL_RPMSG_I2S
+ select SND_SOC_RPMSG_WM8960
help
SoC Audio support for i.MX boards with rpmsg.
There should be rpmsg devices defined in other core
diff --git a/sound/soc/fsl/imx-rpmsg.c b/sound/soc/fsl/imx-rpmsg.c
index 72b2e01212d9..6887e69df220 100644
--- a/sound/soc/fsl/imx-rpmsg.c
+++ b/sound/soc/fsl/imx-rpmsg.c
@@ -58,8 +58,8 @@ static int imx_rpmsg_probe(struct platform_device *pdev)
data->dai[0].name = "rpmsg hifi";
data->dai[0].stream_name = "rpmsg hifi";
- data->dai[0].codec_dai_name = "snd-soc-dummy-dai";
- data->dai[0].codec_name = "snd-soc-dummy";
+ data->dai[0].codec_dai_name = "rpmsg-wm8960-hifi";
+ data->dai[0].codec_name = "rpmsg-audio-codec";
data->dai[0].cpu_dai_name = dev_name(&cpu_pdev->dev);
data->dai[0].platform_of_node = cpu_np;
data->dai[0].playback_only = false;