Taniya Das
25708f73ff
clk: qcom: gdsc: Set retain_ff before moving to HW CTRL
...
Enable the retain_ff_enable bit of GDSCR only if the GDSC is already ON.
Once the GDSCR moves to HW control, SW no longer can determine the state
of the GDSCR and setting the retain_ff bit could destroy all the register
contents we intended to save.
Therefore, move the retain_ff configuration before switching the GDSC to
HW trigger mode.
Cc: stable@vger.kernel.org
Fixes: 173722995cdb ("clk: qcom: gdsc: Add support to enable retention of GSDCR")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Reviewed-by: Imran Shaik <quic_imrashai@quicinc.com>
Tested-by: Imran Shaik <quic_imrashai@quicinc.com> # on QCS8300
Link: https://lore.kernel.org/r/20250214-gdsc_fixes-v1-1-73e56d68a80f@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2025-03-13 16:39:06 -05:00
..
2025-01-16 13:43:49 -08:00
2024-12-29 14:17:55 +02:00
2024-09-21 14:12:05 -07:00
2025-01-21 11:22:26 -08:00
2024-12-17 10:53:06 -08:00
2024-09-21 14:12:05 -07:00
2025-01-21 11:22:46 -08:00
2024-09-21 14:12:05 -07:00
2024-12-17 12:15:37 -08:00
2024-12-10 18:21:40 -08:00
2024-12-02 11:34:44 -08:00
2025-01-21 11:22:46 -08:00
2024-09-21 14:12:05 -07:00
2024-07-10 13:08:59 -07:00
2024-07-08 13:32:47 -07:00
2025-03-13 16:39:06 -05:00
2025-01-13 13:35:38 -08:00
2025-01-07 17:00:56 +01:00
2025-01-09 16:23:32 +01:00
2024-12-14 11:39:02 +01:00
2024-07-19 12:16:28 -07:00
2024-12-16 18:22:00 -06:00
2024-10-28 16:47:22 -07:00
2025-01-14 10:55:00 -08:00
2024-09-21 14:12:05 -07:00
2024-07-25 06:53:47 -05:00
2025-01-22 10:54:18 -08:00
2024-10-28 10:33:13 -07:00
2025-01-21 11:22:46 -08:00
2025-01-26 18:36:23 -08:00
2024-08-02 16:53:38 -07:00
2024-08-14 17:37:25 -07:00
2024-09-21 14:12:05 -07:00
2025-01-07 11:50:07 -08:00
2024-10-22 14:09:20 -07:00
2024-10-09 16:25:32 -07:00
2024-07-29 15:33:13 -07:00
2024-11-22 17:02:25 -08:00
2024-11-14 12:31:03 -08:00
2024-11-14 14:43:40 -08:00
2024-10-09 16:01:40 -07:00
2024-10-09 16:11:35 -07:00
2024-08-16 15:21:19 -07:00
2024-10-22 13:55:22 -07:00
2024-10-17 11:16:01 -07:00
2025-01-25 16:03:40 -08:00
2025-01-13 13:27:26 -08:00
2024-11-14 14:52:27 -08:00
2024-11-14 14:52:26 -08:00
2024-09-21 14:12:05 -07:00
2024-07-29 15:33:13 -07:00
2024-07-29 15:33:13 -07:00
2024-09-21 14:12:05 -07:00
2024-10-16 11:20:42 -07:00
2024-10-13 19:21:11 +03:00
2025-01-13 13:27:12 -08:00
2025-01-21 11:22:46 -08:00
2025-01-15 12:27:04 -08:00
2024-10-17 15:17:51 -07:00
2024-09-21 14:12:05 -07:00
2024-09-21 14:12:05 -07:00
2024-10-09 16:01:00 -07:00
2024-09-21 14:12:05 -07:00
2024-08-27 12:11:45 -07:00
2024-09-21 14:12:05 -07:00
2024-10-09 16:01:40 -07:00
2024-10-02 17:23:23 -04:00
2024-07-25 06:53:47 -05:00
2025-01-15 15:17:05 -08:00
2024-10-17 12:02:42 -07:00
2024-12-10 14:49:29 -08:00
2025-01-15 12:27:04 -08:00
2025-01-21 11:22:26 -08:00
2024-11-18 20:00:28 -08:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-10-09 16:25:32 -07:00
2024-07-29 15:33:13 -07:00
2024-07-29 15:33:13 -07:00
2024-11-18 20:00:28 -08:00