1
0
Fork 0

MLK-19168-6: ASoC: imx-rpmsg: update the rpmsg codec name

update the rpmsg codec name

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 6130b919df97b127fafe319f0c2ff601ebc6bed2)
pull/10/head
Shengjiu Wang 2018-08-08 16:00:17 +08:00 committed by Jason Liu
parent 41a69a3d02
commit 60462b7813
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ static int imx_rpmsg_probe(struct platform_device *pdev)
data->dai[0].name = "rpmsg hifi";
data->dai[0].stream_name = "rpmsg hifi";
if (rpmsg_i2s->codec) {
if (rpmsg_i2s->codec_wm8960) {
data->dai[0].codec_dai_name = "rpmsg-wm8960-hifi";
data->dai[0].codec_name = "rpmsg-audio-codec";
data->dai[0].codec_name = "rpmsg-audio-codec-wm8960";
} else {
data->dai[0].codec_dai_name = "snd-soc-dummy-dai";
data->dai[0].codec_name = "snd-soc-dummy";