diff options
author | Amit Nischal <anischal@codeaurora.org> | 2018-04-09 14:11:45 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-04-16 21:12:13 -0700 |
commit | 9fb38caee2541009c9e040d9a3962157c7bb4c5f (patch) | |
tree | f9f51f183e7a1f8ffc935f95031c9d71a414a011 /drivers/clk/qcom | |
parent | 44dbeebf14453f577dd1f15f5c4f55db47ac42a4 (diff) | |
download | linux-9fb38caee2541009c9e040d9a3962157c7bb4c5f.tar.gz linux-9fb38caee2541009c9e040d9a3962157c7bb4c5f.tar.bz2 linux-9fb38caee2541009c9e040d9a3962157c7bb4c5f.zip |
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/qcom')
-rw-r--r-- | drivers/clk/qcom/gdsc.c | 2 |
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) |