]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: cs42xx8: add error checks for constraints in TDM mode
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 25 Feb 2026 10:09:07 +0000 (18:09 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 1 Mar 2026 16:08:04 +0000 (16:08 +0000)
commitda37bfe76b5b4ccc01ed8132215098e20d78e5f3
tree1512afbd781b5eaee3f81129782b06c37e2635d6
parent2974aa42e6696a1d95b727d677dc01a71af5b998
ASoC: cs42xx8: add error checks for constraints in TDM mode

In the TDM format the ADC and DAC serial ports will only operate as a
slave, the sysclk should not be less than 256FS and Quad-Speed Mode (100
to 200 kHz sample rates) is not supported by ADC. So add error checks
for these constraints.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260225100907.686470-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42xx8.c