diff mbox series

[2/3] clk: qcom: reset: Increase max reset delay

Message ID 20230825-topic-6115_lpasscc-v1-2-d4857be298e3@linaro.org
State Superseded
Headers show
Series SM6115 LPASSCC | expand

Commit Message

Konrad Dybcio Aug. 25, 2023, 6:13 p.m. UTC
u8 limits us to 255 microseconds of delay. Promote the delay variable to
u16 to hold bigger values.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/clk/qcom/reset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/clk/qcom/reset.h b/drivers/clk/qcom/reset.h
index 9a47c838d9b1..fe0561bf53d4 100644
--- a/drivers/clk/qcom/reset.h
+++ b/drivers/clk/qcom/reset.h
@@ -11,7 +11,7 @@ 
 struct qcom_reset_map {
 	unsigned int reg;
 	u8 bit;
-	u8 udelay;
+	u16 udelay;
 	u32 bitmask;
 };