]> 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)
commit914f8824980654dcb3335de4a91175b4a3bf7867
treea37901008edb5b6269da8476527a3b26146dfc3a
parentd593a465fbda26e0264b7c7a2938777a1538fc51
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