projects
/
users
/
dwmw2
/
linux.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
482c9f3
)
ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC
author
Stuart Henderson <stuarth@opensource.cirrus.com>
Wed, 6 Mar 2024 16:14:35 +0000
(16:14 +0000)
committer
Mark Brown <broonie@kernel.org>
Wed, 6 Mar 2024 17:44:20 +0000
(17:44 +0000)
Signed-off-by: Stuart Henderson <stuarth@opensource.cirrus.com>
Link:
https://msgid.link/r/20240306161439.1385643-1-stuarth@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8962.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8962.c
b/sound/soc/codecs/wm8962.c
index fb90ae6a8a344acade2ef3cdee183491b218159d..6d7bb696b1356d1e6c01d9463e3afdbb82ace9ba 100644
(file)
--- a/
sound/soc/codecs/wm8962.c
+++ b/
sound/soc/codecs/wm8962.c
@@
-2914,8
+2914,12
@@
static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s
switch (fll_id) {
case WM8962_FLL_MCLK:
case WM8962_FLL_BCLK:
+ fll1 |= (fll_id - 1) << WM8962_FLL_REFCLK_SRC_SHIFT;
+ break;
case WM8962_FLL_OSC:
fll1 |= (fll_id - 1) << WM8962_FLL_REFCLK_SRC_SHIFT;
+ snd_soc_component_update_bits(component, WM8962_PLL2,
+ WM8962_OSC_ENA, WM8962_OSC_ENA);
break;
case WM8962_FLL_INT:
snd_soc_component_update_bits(component, WM8962_FLL_CONTROL_1,