]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: fsl_sai: Constrain sample rates from audio PLLs only in master mode
authorChancel Liu <chancel.liu@nxp.com>
Wed, 10 Dec 2025 06:21:09 +0000 (15:21 +0900)
committerMark Brown <broonie@kernel.org>
Sun, 14 Dec 2025 10:32:40 +0000 (19:32 +0900)
commit9f4d0899efd9892fc7514c9488270e1bb7dedd2b
tree7c852745bf23ceb4226e9c701ddaf274543ed227
parent20c734cb678332883d317b17bf8fe7361648e170
ASoC: fsl_sai: Constrain sample rates from audio PLLs only in master mode

If SAI works in master mode it will generate clocks for external codec
from audio PLLs. Thus sample rates should be constrained according to
audio PLL clocks. While SAI works in slave mode which means clocks are
generated externally then constraints are independent of audio PLLs.

Fixes: 4edc98598be4 ("ASoC: fsl_sai: Add sample rate constraint")
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20251210062109.2577735-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c