]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 May 2009 22:45:03 +0000 (15:45 -0700)
commit ce88168f5b5eca7f40394fa6b05ae29f4b685569 upstream.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8580.c

index d004e5845298d2b8e6f4871629b75c78702e8724..f3d15d5075ed3d36c39b5f25067241fe9fa28cac 100644 (file)
@@ -533,7 +533,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);