Commit d23f2688 authored by Nikesh Oswal's avatar Nikesh Oswal Committed by Greg Kroah-Hartman

ASoC: arizona: Fix gain settings of FLL in free-run mode

commit 1cf5a330 upstream.

The wrong register was used to set the gain of ref loop, when changing
the FLL output on an active FLL. This patch corrects the offset of the
gain register.
Signed-off-by: default avatarNikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3f3c08dd
...@@ -1912,7 +1912,7 @@ static int arizona_enable_fll(struct arizona_fll *fll) ...@@ -1912,7 +1912,7 @@ static int arizona_enable_fll(struct arizona_fll *fll)
if (already_enabled) { if (already_enabled) {
/* Facilitate smooth refclk across the transition */ /* Facilitate smooth refclk across the transition */
regmap_update_bits_async(fll->arizona->regmap, fll->base + 0x7, regmap_update_bits_async(fll->arizona->regmap, fll->base + 0x9,
ARIZONA_FLL1_GAIN_MASK, 0); ARIZONA_FLL1_GAIN_MASK, 0);
regmap_update_bits_async(fll->arizona->regmap, fll->base + 1, regmap_update_bits_async(fll->arizona->regmap, fll->base + 1,
ARIZONA_FLL1_FREERUN, ARIZONA_FLL1_FREERUN,
......
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