From: Mark Brown Date: Tue, 21 Apr 2009 11:35:15 +0000 (+0100) Subject: ASoC: Fix offset of freqmode in WM8580 PLL configuration X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~30538^2~3^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ce88168f5b5eca7f40394fa6b05ae29f4b685569;p=mirror_ubuntu-focal-kernel.git ASoC: Fix offset of freqmode in WM8580 PLL configuration Signed-off-by: Mark Brown Cc: stable@kernel.org --- 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, 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);