]> www.infradead.org Git - linux-platform-drivers-x86.git/commit
ASoC: cs42l42: Only start PLL if it is needed
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Sat, 6 Mar 2021 18:55:52 +0000 (18:55 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 10 Mar 2021 13:14:30 +0000 (13:14 +0000)
commit882589bb707ba78d25dd193beefde97e00a3da6b
treed687b60e9af942f3bb0282ca15a74a13a76c8bab
parent0ea23660c7170124fc06ec363b4d2adfa350cf2f
ASoC: cs42l42: Only start PLL if it is needed

The PLL is only needed for sclk < 11289600 Hz and cs42l42_pll_config()
will not configure it for higher rates. So it must only be enabled
when it is needed.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210306185553.62053-15-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c