ASoC: wm8994: Fix typo in VMID ramp setting
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 7 Feb 2012 17:24:19 +0000 (17:24 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 8 Feb 2012 19:51:53 +0000 (19:51 +0000)
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
sound/soc/codecs/wm8994.c

index 81795ebcab1791481074209ac14a1c7dd9c638e0..b75a65273dab4729fd1decdcf9cb462103ff9aa7 100644 (file)
@@ -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,