[lkml]   [2018]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH v2 2/3] clk: qcom: gdsc: Add support to poll for higher timeout value
From: Amit Nischal <>

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 <>
Signed-off-by: Taniya Das <>
drivers/clk/qcom/gdsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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 TIMEOUT_US 100
+#define TIMEOUT_US 500

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

Qualcomm INDIA, on behalf of Qualcomm Innovation Center, a member
of the Code Aurora Forum, hosted by the Linux Foundation.
 \ /
  Last update: 2018-04-09 10:43    [W:0.053 / U:3.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site