]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-card: improve the sound quality for low rate
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 4 Jan 2022 10:40:35 +0000 (18:40 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jan 2022 13:55:45 +0000 (13:55 +0000)
commite73a8267ed07ad2f8b297e8207fa944da2b3a34e
treeed22703f9e64b3d4984c672d49cdc94999795d06
parented9a1e408e322f17ded939137c22654027e44550
ASoC: imx-card: improve the sound quality for low rate

According to RM, on auto mode:
For codec AK4458 and AK4497, the lowest ratio of MLCK/FS is 256
if sample rate is 8kHz-48kHz,
For codec AK5558, the lowest ratio of MLCK/FS is 512 if sample
rate is 8kHz-48kHz.

With these setting the sound quality for 8kHz-48kHz can be improved.

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-4-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-card.c