OSDN Git Service

ASoC: imx-card: Need special setting for ak4497 on i.MX8MQ
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 4 Jan 2022 10:40:33 +0000 (18:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jan 2022 13:55:43 +0000 (13:55 +0000)
commit3349b3d0c63b8b6fcca58156d72407f0b2e101ac
treeaf1e86ebf503d97f6324c9ededa384f8d4281e17
parente4c35e75209bda13e57c9bc8d280366c2b9275a5
ASoC: imx-card: Need special setting for ak4497 on i.MX8MQ

The SAI on i.MX8MQ don't support one2one ratio for mclk:bclk, so
the mclk frequency exceeds the supported range of codec for
the case that sample rate is larger than 705kHZ and format is
S32_LE. Update the supported width for such case.

Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1641292835-19085-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-card.c