diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-21 07:35:15 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-04-21 11:18:01 -0400 |
commit | ce88168f5b5eca7f40394fa6b05ae29f4b685569 (patch) | |
tree | b6d18a705402bdbfbb194c8576b4917fa96179b9 /sound/soc | |
parent | 516ef69f160fb2f092d71f2cb635a9394ff8a71a (diff) |
ASoC: Fix offset of freqmode in WM8580 PLL configuration
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | 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 442ea6f160fc..41aab4a7a254 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, | |||
522 | reg = wm8580_read(codec, WM8580_PLLA4 + offset); | 522 | reg = wm8580_read(codec, WM8580_PLLA4 + offset); |
523 | reg &= ~0x3f; | 523 | reg &= ~0x3f; |
524 | reg |= pll_div.prescale | pll_div.postscale << 1 | | 524 | reg |= pll_div.prescale | pll_div.postscale << 1 | |
525 | pll_div.freqmode << 4; | 525 | pll_div.freqmode << 3; |
526 | 526 | ||
527 | wm8580_write(codec, WM8580_PLLA4 + offset, reg); | 527 | wm8580_write(codec, WM8580_PLLA4 + offset, reg); |
528 | 528 | ||