Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae0bc28a authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: msm: clock-cpu-8996: Correct the ACS configuration logic



Correct the settings to switch to always-on clock source
during certain LPM mode exit paths on msm8996 Pro.

CRs-Fixed: 972298
Change-Id: Ice256b453fad07bc80be79d9c15d10545c90fb20
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent bf1f2607
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1762,9 +1762,9 @@ int __init cpu_clock_8996_early_init(void)
			 * Configure ACS logic to switch to always-on clock
			 * source during D2-D5 entry
			 */
			writel_relaxed(0x2, vbases[APC0_BASE] +
			writel_relaxed(0x1, vbases[APC0_BASE] +
							MDD_DROOP_CODE);
			writel_relaxed(0x2, vbases[APC1_BASE] +
			writel_relaxed(0x1, vbases[APC1_BASE] +
							MDD_DROOP_CODE);
			/*
			 * Ensure that the writes go through before enabling