Re: [PATCH 2/3] clk: qcom: gdsc: Add support to poll for higher timeout value

From: Stephen Boyd
Date: Thu Apr 05 2018 - 19:24:20 EST


Quoting Taniya Das (2018-04-02 03:45:44)
> From: Amit Nischal <anischal@xxxxxxxxxxxxxx>
>
> For some gdscs, it might take longer time up to 500us for
> updating their status. So add support for the same by
> defining a new flag 'GDS_TIMEOUT' to mark such gdsc in
> order to poll their status for longer timeout value.
>
> Signed-off-by: Amit Nischal <anischal@xxxxxxxxxxxxxx>
> Signed-off-by: Taniya Das <tdas@xxxxxxxxxxxxxx>
> ---

Let's just increase the timeout to 500 if it's required? This is a
timeout, so we're not really expecting to hit it anyway so optimizing
the uncommon case is not useful.