ASoC: Only update SYSCLK_ENA when pausing WM8915 SYSCLK
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
This commit is contained in:
parent
05d3962cc9
commit
1622ee1822
|
@ -1839,7 +1839,7 @@ static int wm8915_set_sysclk(struct snd_soc_dai *dai,
|
|||
int old;
|
||||
|
||||
/* Disable SYSCLK while we reconfigure */
|
||||
old = snd_soc_read(codec, WM8915_AIF_CLOCKING_1);
|
||||
old = snd_soc_read(codec, WM8915_AIF_CLOCKING_1) & WM8915_SYSCLK_ENA;
|
||||
snd_soc_update_bits(codec, WM8915_AIF_CLOCKING_1,
|
||||
WM8915_SYSCLK_ENA, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue