Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e9ddf81 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Ensure we delay long enough for WM8994 FLL to lock when starting



This delay is very conservative.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@ti.com>
Cc: stable@kernel.org
parent 713d1369
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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;