aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Nischal <[email protected]>2018-04-09 14:11:45 +0530
committerStephen Boyd <[email protected]>2018-04-16 21:12:13 -0700
commit9fb38caee2541009c9e040d9a3962157c7bb4c5f (patch)
treef9f51f183e7a1f8ffc935f95031c9d71a414a011
parent44dbeebf14453f577dd1f15f5c4f55db47ac42a4 (diff)
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 <[email protected]> Signed-off-by: Taniya Das <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/qcom/gdsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c
index 266fefa3a94a..cb61c1590e9c 100644
--- a/drivers/clk/qcom/gdsc.c
+++ b/drivers/clk/qcom/gdsc.c
@@ -41,7 +41,7 @@
#define RETAIN_MEM BIT(14)
#define RETAIN_PERIPH BIT(13)
-#define TIMEOUT_US 100
+#define TIMEOUT_US 500
#define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd)