diff options
author | Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com> | 2015-08-19 16:02:24 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-09-21 10:05:39 -0700 |
commit | d23f2688b991310d4f27d4abaf7769ea301c9a91 (patch) | |
tree | 5e6c3f51b8969e83b2a9722766cf3a4657cdd9a4 | |
parent | 3f3c08dd0dc598f0cfe6efb8de17139c03309ea7 (diff) | |
download | lwn-d23f2688b991310d4f27d4abaf7769ea301c9a91.tar.gz lwn-d23f2688b991310d4f27d4abaf7769ea301c9a91.zip |
ASoC: arizona: Fix gain settings of FLL in free-run mode
commit 1cf5a330c05ae37a0a98ac7c9800a6f50d5579ec 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: Nikesh Oswal <Nikesh.Oswal@wolfsonmicro.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | sound/soc/codecs/arizona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/arizona.c b/sound/soc/codecs/arizona.c index eff4b4d512b7..92b813b74014 100644 --- a/sound/soc/codecs/arizona.c +++ b/sound/soc/codecs/arizona.c @@ -1912,7 +1912,7 @@ static int arizona_enable_fll(struct arizona_fll *fll) if (already_enabled) { /* 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); regmap_update_bits_async(fll->arizona->regmap, fll->base + 1, ARIZONA_FLL1_FREERUN, |