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

Commit 09871a94 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: arizona: Make FLL lock timeout very high



Provide robustness against low quality FLL sync clocks by increasing the
timeout for lock to an absurdly high point; we should never get anywhere
near hitting the timeout in a real system unless it is failing.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent d4d1eaac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1016,7 +1016,7 @@ int arizona_set_fll(struct arizona_fll *fll, int source,
				   ARIZONA_FLL1_SYNC_ENA);

	ret = wait_for_completion_timeout(&fll->ok,
					  msecs_to_jiffies(25));
					  msecs_to_jiffies(250));
	if (ret == 0)
		arizona_fll_warn(fll, "Timed out waiting for lock\n");