]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 25 Jun 2025 02:05:04 +0000 (10:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:27:52 +0000 (18:27 +0200)
commit8f2d162c4bcfdbb23489f26c7650c7a241c050c4
treeb6caf0ddaa9c7a5da8a4d10cf2ef36d1cab2c5ec
parenta2130463fc9451005660b0eda7b61d5f746f7d74
ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode

[ Upstream commit cbe876121633dadb2b0ce52711985328638e9aab ]

When USRC=0, there is underrun issue for the non-ideal ratio mode;
according to the reference mannual, the internal measured ratio can be
used with USRC=1 and IDRC=0.

Fixes: d0250cf4f2ab ("ASoC: fsl_asrc: Add an option to select internal ratio mode")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Link: https://patch.msgid.link/20250625020504.2728161-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl_asrc.c