]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl_utils: Add function to constrain rates
authorChancel Liu <chancel.liu@nxp.com>
Tue, 26 Nov 2024 11:54:37 +0000 (20:54 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2024 13:11:09 +0000 (13:11 +0000)
commit820bcaeb1ff5705ba907563e554f17d0deecc3fa
treec8e120763fb748f8036928c317c16fb96c1f6402
parent5757b31666277e2b177b406e48878dc48d587a46
ASoC: fsl_utils: Add function to constrain rates

Platforms like i.MX93/91 only have one audio PLL. Some sample rates are
not supported. Add common function to constrain rates according to
different clock sources.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20241126115440.3929061-2-chancel.liu@nxp.com
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_utils.c
sound/soc/fsl/fsl_utils.h