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> (cherry picked from commit 6fab38509647529c165bb610b8a7996d6ad16307) Signed-off-by:
Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by:
Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Please register or sign in to comment