]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl_sai: Add sample rate constraint
authorChancel Liu <chancel.liu@nxp.com>
Tue, 26 Nov 2024 11:54:40 +0000 (20:54 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Dec 2024 13:11:11 +0000 (13:11 +0000)
commit4edc98598be43634f87af5d3876ebec6c274d2cb
tree7b06ca9ce4e87a187b26b6baa4d85a80badc06c3
parentb622b677d255b41cbfce20b66535723933a6b640
ASoC: fsl_sai: Add sample rate constraint

Platforms like i.MX93/91 only have one audio PLL. Some sample rates are
not supported. If the PLL source is used for 8kHz series rates, then
11kHz series rates can't be supported. Use fsl_asoc_constrain_rates()
to constrain rates according to PLL sources.

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