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

Commit b8543af3 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: spm: Disable Qchannel and SPM legacy mode when A57 rail is turned on"

parents feceaa56 dd09c9ae
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -283,9 +283,11 @@ int msm_spm_turn_on_cpu_rail(struct device_node *vctl_node,
	if (base) {
		/*
		 * Program Q2S to disable SPM legacy mode and ignore Q2S
		 * channel requests
		 * channel requests.
		 * bit[1] = qchannel_ignore = 1
		 * bit[2] = spm_legacy_mode = 0
		 */
		writel_relaxed(0x1, base);
		writel_relaxed(0x2, base);
		mb();
		iounmap(base);
	}