Commit 03c78741 authored by Stuart Henderson's avatar Stuart Henderson Committed by Mark Brown

ASoC: wm8962: Enable oscillator if selecting WM8962_FLL_OSC

Signed-off-by: default avatarStuart Henderson <stuarth@opensource.cirrus.com>
Link: https://msgid.link/r/20240306161439.1385643-1-stuarth@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 482c9f3d
...@@ -2914,8 +2914,12 @@ static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s ...@@ -2914,8 +2914,12 @@ static int wm8962_set_fll(struct snd_soc_component *component, int fll_id, int s
switch (fll_id) { switch (fll_id) {
case WM8962_FLL_MCLK: case WM8962_FLL_MCLK:
case WM8962_FLL_BCLK: case WM8962_FLL_BCLK:
fll1 |= (fll_id - 1) << WM8962_FLL_REFCLK_SRC_SHIFT;
break;
case WM8962_FLL_OSC: case WM8962_FLL_OSC:
fll1 |= (fll_id - 1) << WM8962_FLL_REFCLK_SRC_SHIFT; fll1 |= (fll_id - 1) << WM8962_FLL_REFCLK_SRC_SHIFT;
snd_soc_component_update_bits(component, WM8962_PLL2,
WM8962_OSC_ENA, WM8962_OSC_ENA);
break; break;
case WM8962_FLL_INT: case WM8962_FLL_INT:
snd_soc_component_update_bits(component, WM8962_FLL_CONTROL_1, snd_soc_component_update_bits(component, WM8962_FLL_CONTROL_1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment