From: Amit Nischal Date: Mon, 9 Apr 2018 08:41:45 +0000 (+0530) Subject: clk: qcom: gdsc: Add support to poll for higher timeout value X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9fb38caee2541009c9e040d9a3962157c7bb4c5f;p=linux.git 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 Signed-off-by: Taniya Das Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c index 266fefa3a94ad..cb61c1590e9c5 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)