Skip to content

Commit

Permalink
ASoC: arizona: Ensure synchroniser is disabled when not needed
Browse files Browse the repository at this point in the history
When live configuring a FLL configuration with no synchroniser disable the
synchroniser in case the previous configuration used one.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Mar 8, 2013
1 parent 8f113d7 commit eca2e8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/codecs/arizona.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,6 +1187,9 @@ static void arizona_enable_fll(struct arizona_fll *fll,

arizona_apply_fll(arizona, fll->base, sync,
fll->sync_src, false);

regmap_update_bits(arizona->regmap, fll->base + 0x11,
ARIZONA_FLL1_SYNC_ENA, 0);
} else {
arizona_fll_err(fll, "No clocks provided\n");
return;
Expand Down

0 comments on commit eca2e8e

Please sign in to comment.