Skip to content

Commit 9fb38ca

Browse files
Amit Nischalbebarino
authored andcommitted
clk: qcom: gdsc: Add support to poll for higher timeout value
For some gdscs, it might take longer time up to 500us for updating their status. Update the timeout value for all GDSC polling status. Signed-off-by: Amit Nischal <anischal@codeaurora.org> Signed-off-by: Taniya Das <tdas@codeaurora.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 44dbeeb commit 9fb38ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gdsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define RETAIN_MEM BIT(14)
4242
#define RETAIN_PERIPH BIT(13)
4343

44-
#define TIMEOUT_US 100
44+
#define TIMEOUT_US 500
4545

4646
#define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd)
4747

0 commit comments

Comments
 (0)