[alsa-devel] [PATCH 05/21] ASoC: Fix offset of freqmode in WM8580 PLL configuration

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Apr 23 21:55:39 CEST 2009


Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
Cc: stable at kernel.org
---
 sound/soc/codecs/wm8580.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8580.c b/sound/soc/codecs/wm8580.c
index 442ea6f..41aab4a 100644
--- a/sound/soc/codecs/wm8580.c
+++ b/sound/soc/codecs/wm8580.c
@@ -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);
 
-- 
1.5.6.3



More information about the Alsa-devel mailing list