]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ASoC: wm8955: Fix setting wrong register for WM8955_K_8_0_MASK bits
authorAxel Lin <axel.lin@ingics.com>
Fri, 15 May 2015 01:15:16 +0000 (09:15 +0800)
committerZefan Li <lizefan@huawei.com>
Thu, 22 Oct 2015 01:20:01 +0000 (09:20 +0800)
commit 12c350050538c7dc779c083b7342bfd20f74949c upstream.

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>
Signed-off-by: Zefan Li <lizefan@huawei.com>
sound/soc/codecs/wm8955.c

index 4696f66682599efd71d77bf53420ee95b50f3b35..07b78a9540a7a1d5fa9eabd1307c77e251c536fc 100644 (file)
@@ -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)