summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-07 18:24:19 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-08 20:51:53 +0100
commitf647e1526fd6c7c8ab720781c40d11e11f930e93 (patch)
tree1f5c824c327b6b8c3b9e359cc544bb9e363abc44
parentASoC: wm8994: Enabling VMID should take a runtime PM reference (diff)
downloadlinux-f647e1526fd6c7c8ab720781c40d11e11f930e93.tar.xz
linux-f647e1526fd6c7c8ab720781c40d11e11f930e93.zip
ASoC: wm8994: Fix typo in VMID ramp setting
The VMID ramp rate is supposed to be 0x3, not 11b. Fix that. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 81795ebcab17..b75a65273dab 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -785,7 +785,7 @@ static void vmid_reference(struct snd_soc_codec *codec)
WM8994_VMID_RAMP_MASK,
WM8994_STARTUP_BIAS_ENA |
WM8994_VMID_BUF_ENA |
- (0x11 << WM8994_VMID_RAMP_SHIFT));
+ (0x3 << WM8994_VMID_RAMP_SHIFT));
/* Main bias enable, VMID=2x40k */
snd_soc_update_bits(codec, WM8994_POWER_MANAGEMENT_1,