]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: wm8960: Fix WM8960_SYSCLK_PLL mode
authorStuart Henderson <stuart.henderson@cirrus.com>
Tue, 19 Jan 2016 13:09:09 +0000 (13:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 May 2020 17:13:25 +0000 (19:13 +0200)
commitf441c4f2b5166629649ea567847819d286973e10
tree005055d03cb644531ed34934387f814337ed1d22
parentaf9b55d6ab6ab911d26f34415613db494e2692b7
ASoC: wm8960: Fix WM8960_SYSCLK_PLL mode

commit 6bb7451429084cefcb3a18fff809f7992595d2af upstream.

With the introduction of WM8960_SYSCLK_AUTO mode, WM8960_SYSCLK_PLL mode was
made unusable.  Ensure we're not PLL mode before trying to use MCLK.

Fixes: 3176bf2d7ccd ("ASoC: wm8960: update pll and clock setting function")
Signed-off-by: Stuart Henderson <stuart.henderson@cirrus.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/wm8960.c