diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-10-11 18:00:08 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:50:44 +0800 |
commit | a0cdb67b919054404a54355c1f652ec2a0f90f91 (patch) | |
tree | 5cf986185bef9333bb01b0861f8e740351689cff /sound/soc/fsl/imx-ak4458.c | |
parent | ddbe30f27fb968443df83722bdbcf295e910eac7 (diff) |
MLK-19854-1: ASoC: imx-wm8960: fix error when m4 image is not loaded
With rpmsg sound, when the m4 image is not loaded. There is error log
[ 46.275223] imx-wm8960 sound-rpmsg-wm8960: ASoC: CODEC DAI rpmsg-wm8960-hifi not registered
[ 46.284543] imx-wm8960 sound-rpmsg-wm8960: snd_soc_register_card failed (-517)
The issue is caused by that codec is not registered, the sound
card registration will fail
So add check in probe function for codec dai is ready or not.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Diffstat (limited to 'sound/soc/fsl/imx-ak4458.c')
0 files changed, 0 insertions, 0 deletions