ASoC: Fix offset of freqmode in WM8580 PLL configuration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Apr 2009 11:35:15 +0000 (12:35 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Apr 2009 15:18:01 +0000 (16:18 +0100)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8580.c

index 442ea6f160fc0eaefcd1c55b247cd88acbe02d27..41aab4a7a2548e4bc064ed4efc5ea39f9f8374ac 100644 (file)
@@ -522,7 +522,7 @@ static int wm8580_set_dai_pll(struct snd_soc_dai *codec_dai,
        reg = wm8580_read(codec, WM8580_PLLA4 + offset);
        reg &= ~0x3f;
        reg |= pll_div.prescale | pll_div.postscale << 1 |
-               pll_div.freqmode << 4;
+               pll_div.freqmode << 3;
 
        wm8580_write(codec, WM8580_PLLA4 + offset, reg);