Skip to content

Commit

Permalink
ASoC: Fix offset of freqmode in WM8580 PLL configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
  • Loading branch information
Mark Brown committed Apr 21, 2009
1 parent 516ef69 commit ce88168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm8580.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ce88168

Please sign in to comment.