]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfa37c67bb0dc3a92e22c3dc6d71992317387bb9d
treeaf1e86ebf503d97f6324c9ededa384f8d4281e17
parentc2b4e328de71cb7a0c0f5ed674aa33515db1fd4b
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: 32569b1134f1 ("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