diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-05-15 09:15:16 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-16 13:32:04 +0100 |
commit | 12c350050538c7dc779c083b7342bfd20f74949c (patch) | |
tree | 1e54b468d7b1155533820ee1899775ad4d3d4326 /sound/soc/codecs/wm8955.c | |
parent | b787f68c36d49bb1d9236f403813641efa74a031 (diff) | |
download | linux-12c350050538c7dc779c083b7342bfd20f74949c.tar.gz linux-12c350050538c7dc779c083b7342bfd20f74949c.tar.bz2 linux-12c350050538c7dc779c083b7342bfd20f74949c.zip |
ASoC: wm8955: Fix setting wrong register for WM8955_K_8_0_MASK bits
WM8955_K_8_0_MASK bits is controlled by WM8955_PLL_CONTROL_3 rather than
WM8955_PLL_CONTROL_2.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'sound/soc/codecs/wm8955.c')
-rw-r--r-- | sound/soc/codecs/wm8955.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8955.c b/sound/soc/codecs/wm8955.c index 00bec915d652..03e04bf6c5ba 100644 --- a/sound/soc/codecs/wm8955.c +++ b/sound/soc/codecs/wm8955.c @@ -298,7 +298,7 @@ static int wm8955_configure_clocking(struct snd_soc_codec *codec) snd_soc_update_bits(codec, WM8955_PLL_CONTROL_2, WM8955_K_17_9_MASK, (pll.k >> 9) & WM8955_K_17_9_MASK); - snd_soc_update_bits(codec, WM8955_PLL_CONTROL_2, + snd_soc_update_bits(codec, WM8955_PLL_CONTROL_3, WM8955_K_8_0_MASK, pll.k & WM8955_K_8_0_MASK); if (pll.k) |