aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>2015-08-19 11:02:24 -0400
committerMark Brown <broonie@kernel.org>2015-08-19 12:30:47 -0400
commit1cf5a330c05ae37a0a98ac7c9800a6f50d5579ec (patch)
tree05575cefa58ea4c8e2347192ae8c161f2efb2505
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590 (diff)
ASoC: arizona: Fix gain settings of FLL in free-run mode
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: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com> Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
-rw-r--r--sound/soc/codecs/arizona.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c
index 802e05eae3e9..4e5d0a96f933 100644
--- a/sound/soc/codecs/arizona.c
+++ b/sound/soc/codecs/arizona.c
@@ -2058,7 +2058,7 @@ static int arizona_enable_fll(struct arizona_fll *fll)
2058 2058
2059 if (already_enabled) { 2059 if (already_enabled) {
2060 /* Facilitate smooth refclk across the transition */ 2060 /* Facilitate smooth refclk across the transition */
2061 regmap_update_bits_async(fll->arizona->regmap, fll->base + 0x7, 2061 regmap_update_bits_async(fll->arizona->regmap, fll->base + 0x9,
2062 ARIZONA_FLL1_GAIN_MASK, 0); 2062 ARIZONA_FLL1_GAIN_MASK, 0);
2063 regmap_update_bits_async(fll->arizona->regmap, fll->base + 1, 2063 regmap_update_bits_async(fll->arizona->regmap, fll->base + 1,
2064 ARIZONA_FLL1_FREERUN, 2064 ARIZONA_FLL1_FREERUN,