]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic31xx: Handle BCLK set as PLL input configuration
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Fri, 19 Nov 2021 15:32:47 +0000 (12:32 -0300)
committerMark Brown <broonie@kernel.org>
Mon, 22 Nov 2021 15:43:02 +0000 (15:43 +0000)
commit08991a9e6e40bac05c97b0c7387fa0c3f194ed0b
treea37901008edb5b6269da8476527a3b26146dfc3a
parentf6105159db14f83634e9ba4cf3374a5cbb90923b
ASoC: tlv320aic31xx: Handle BCLK set as PLL input configuration

If BCLK is used as PLL input, the sysclk is determined by the hw
params. So it must be updated here to match the input frequency, based
on sample rate, format and channels.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Link: https://lore.kernel.org/r/20211119153248.419802-5-ariel.dalessandro@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic31xx.c