[patch 23/58] ASoC: Fix offset of freqmode in WM8580 PLL configuration

Greg KH
2009-05-06T22:04:00Z

[-- Attachment #1: asoc-fix-offset-of-freqmode-in-wm8580-pll-configuration.patch --]
[-- Type: text/plain, Size: 774 bytes --]

2.6.29-stable review patch. If anyone has any objections, please let us know.

------------------

From: Mark Brown <broonie@opensource.wolfsonmicro.com>

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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -533,7 +533,7 @@ static int wm8580_set_dai_pll(struct snd
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);