Commit eca2e8e2 authored by Mark Brown's avatar Mark Brown

ASoC: arizona: Ensure synchroniser is disabled when not needed

When live configuring a FLL configuration with no synchroniser disable the
synchroniser in case the previous configuration used one.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8f113d7d
...@@ -1187,6 +1187,9 @@ static void arizona_enable_fll(struct arizona_fll *fll, ...@@ -1187,6 +1187,9 @@ static void arizona_enable_fll(struct arizona_fll *fll,
arizona_apply_fll(arizona, fll->base, sync, arizona_apply_fll(arizona, fll->base, sync,
fll->sync_src, false); fll->sync_src, false);
regmap_update_bits(arizona->regmap, fll->base + 0x11,
ARIZONA_FLL1_SYNC_ENA, 0);
} else { } else {
arizona_fll_err(fll, "No clocks provided\n"); arizona_fll_err(fll, "No clocks provided\n");
return; return;
......
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