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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:04:20 +0000 (11:04 +0100)
commit0cd1ef3f7b898b7bb30e0ef0c475764b4007195a
tree65d7c1c28b6f95976267cc451ef68cd6835e5472
parentedc07df0df20f0ae9944c4e141ea48458d0cbdd1
ASoC: imx-card: improve the sound quality for low rate

[ Upstream commit 3969341813eb56d2dfc39bb64229359a6ae3c195 ]

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