summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorAmit Nischal <anischal@codeaurora.org>2018-04-09 14:11:45 +0530
committerStephen Boyd <sboyd@kernel.org>2018-04-16 21:12:13 -0700
commit9fb38caee2541009c9e040d9a3962157c7bb4c5f (patch)
treef9f51f183e7a1f8ffc935f95031c9d71a414a011 /drivers/clk
parent44dbeebf14453f577dd1f15f5c4f55db47ac42a4 (diff)
downloadop-kernel-dev-9fb38caee2541009c9e040d9a3962157c7bb4c5f.zip
op-kernel-dev-9fb38caee2541009c9e040d9a3962157c7bb4c5f.tar.gz
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>
Diffstat (limited to 'drivers/clk')
-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 266fefa..cb61c15 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)
OpenPOWER on IntegriCloud