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

Commit 89ed8f1d authored by George Shen's avatar George Shen
Browse files

msm: cvp: Avoid reset CVP clock during power off



The change is to avoid SMMU fault introduced by MMNOC power
collapse and PMU enabling.

Change-Id: Iaa04af73ce2ffa4a51553f74d0cd956d199766ab
Signed-off-by: default avatarGeorge Shen <sqiao@codeaurora.org>
parent 0ea391ba
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4175,10 +4175,10 @@ static void power_off_iris2(struct iris_hfi_device *device)
	/* HPG 6.1.2 Step 6 */
	__disable_unprepare_clks(device);

	/* HPG 6.1.2 Step 7 & 8 */
	if (call_iris_op(device, reset_ahb2axi_bridge, device))
		dprintk(CVP_ERR, "Failed to reset ahb2axi\n");

	/*
	 * HPG 6.1.2 Step 7 & 8
	 * per new HPG update, core clock reset will be unnecessary
	 */
	if (__unvote_buses(device))
		dprintk(CVP_WARN, "Failed to unvote for buses\n");