ASoC: imx-rpmsg: Support configure sysclk for codec dai
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 3 Aug 2022 03:02:28 +0000 (11:02 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:20:06 +0000 (01:20 +0100)
commit088f115c6ff664c8afe003bd542e1e662a72aaed
tree34f99229dda9d17f7df983e41ad866b003ed5dfb
parent7d67657cb472a80d54457362bc421f2b57ee250b
ASoC: imx-rpmsg: Support configure sysclk for codec dai

Some codecs need to configure the sysclk even with slave
mode, otherwise it may not work properly with some case.

wm8960 is the one that need sysclk be configured, so add
late_probe() to call the snd_soc_dai_set_sysclk() of codec

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1659495748-10876-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-rpmsg.c