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

Commit c297f9a2 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: clk-branch: Increase the polling timeout for branch clocks



In certain cases, branch clocks might take longer than the
current polling timeout of 200usecs to turn on/off. Increase
this value to 500usecs instead.

Change-Id: I731c442ca4e38545041d7afb0c07bcee67095530
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 4d9a308b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -92,7 +92,7 @@ static int clk_branch_wait(const struct clk_branch *br, bool enabling,
	} else if (br->halt_check == BRANCH_HALT_ENABLE ||
		   br->halt_check == BRANCH_HALT ||
		   (enabling && voted)) {
		int count = 200;
		int count = 500;

		while (count-- > 0) {
			if (check_halt(br, enabling))