diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-07-11 11:27:48 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:52:36 +0800 |
commit | 6a7c25fc006498e657da089be51aba5407494282 (patch) | |
tree | 5aea3d131f9a9bfe1c8c322cb599b61bfa6d6ec4 /sound/soc/fsl/imx-cdnhdmi.c | |
parent | 67b21f3a8793bc756e7df5b9e37e77a68a7b4283 (diff) |
MLK-18833: ASoC: imx-cdnhdmi: fix no sound card issue
The codec dai name is changed in 4.14,so the machine driver need to
be updated
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-cdnhdmi.c')
-rw-r--r-- | sound/soc/fsl/imx-cdnhdmi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/imx-cdnhdmi.c b/sound/soc/fsl/imx-cdnhdmi.c index 9b6b1f0b4b38..ba0b32f21d9d 100644 --- a/sound/soc/fsl/imx-cdnhdmi.c +++ b/sound/soc/fsl/imx-cdnhdmi.c @@ -466,7 +466,7 @@ static int imx_cdnhdmi_probe(struct platform_device *pdev) data->dai.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS; - data->dai.codec_dai_name = "hdmi-hifi.0"; + data->dai.codec_dai_name = "i2s-hifi"; data->dai.codec_name = "hdmi-audio-codec.1"; data->card.controls = imx_cdnhdmi_ctrls; data->card.num_controls = ARRAY_SIZE(imx_cdnhdmi_ctrls); @@ -478,7 +478,7 @@ static int imx_cdnhdmi_probe(struct platform_device *pdev) data->dai.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM; - data->dai.codec_dai_name = "hdmi-hifi.0"; + data->dai.codec_dai_name = "i2s-hifi"; data->dai.codec_name = "hdmi-audio-codec.2"; data->card.controls = imx_cdnhdmi_rx_ctrls; data->card.num_controls = ARRAY_SIZE(imx_cdnhdmi_rx_ctrls); |