mirror of https://gitee.com/openkylin/linux.git
ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting
This delay is very conservative. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com> Cc: stable@kernel.org
This commit is contained in:
parent
713d136978
commit
8e9ddf811b
|
@ -1713,6 +1713,8 @@ static int _wm8994_set_fll(struct snd_soc_codec *codec, int id, int src,
|
||||||
snd_soc_update_bits(codec, WM8994_FLL1_CONTROL_1 + reg_offset,
|
snd_soc_update_bits(codec, WM8994_FLL1_CONTROL_1 + reg_offset,
|
||||||
WM8994_FLL1_ENA | WM8994_FLL1_FRAC,
|
WM8994_FLL1_ENA | WM8994_FLL1_FRAC,
|
||||||
reg);
|
reg);
|
||||||
|
|
||||||
|
msleep(5);
|
||||||
}
|
}
|
||||||
|
|
||||||
wm8994->fll[id].in = freq_in;
|
wm8994->fll[id].in = freq_in;
|
||||||
|
|
Loading…
Reference in New Issue