[PATCH 1/4] clk/qcom: Print more details about stuck GDSC
Alexey Minnekhanov
alexeymin at postmarketos.org
Wed Jan 8 12:59:08 CET 2025
Clearly say whether it's stuck during power on or power off.
Signed-off-by: Alexey Minnekhanov <alexeymin at postmarketos.org>
---
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;
}
--
2.45.2
More information about the U-Boot
mailing list