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>
This commit is contained in:
Chancel Liu 2024-11-26 20:54:37 +09:00 • committed by Mark Brown
commit 820bcaeb1f
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 50 additions and 0 deletions