[PATCH 1/4] clk/qcom: Print more details about stuck GDSC
Caleb Connolly
caleb.connolly at linaro.org
Wed Jan 8 15:31:55 CET 2025
On 08/01/2025 12:59, Alexey Minnekhanov via groups.io wrote:
> Clearly say whether it's stuck during power on or power off.
>
> Signed-off-by: Alexey Minnekhanov <alexeymin at postmarketos.org>
Reviewed-by: Caleb Connolly <caleb.connolly at linaro.org>
Thanks
> ---
> drivers/clk/qcom/clock-qcom.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/clk/qcom/clock-qcom.c b/drivers/clk/qcom/clock-qcom.c
> index 25ca67e537d1..1cfc430c14a5 100644
> --- a/drivers/clk/qcom/clock-qcom.c
> +++ b/drivers/clk/qcom/clock-qcom.c
> @@ -496,8 +496,8 @@ static int qcom_power_set(struct power_domain *pwr, bool on)
> GDSC_STATUS_POLL_TIMEOUT_US);
>
> if (ret == -ETIMEDOUT)
> - printf("WARNING: GDSC %lu is stuck during power on/off\n",
> - pwr->id);
> + printf("WARNING: GDSC %lu is stuck during power o%s\n",
> + pwr->id, on ? "n" : "ff");
> return ret;
> }
>
--
// Caleb (they/them)
More information about the U-Boot
mailing list