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

Commit 8a7d9798 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cvp: Reverse cvp gdsc and cbcr ctrl sequence"

parents 9b7f353e 762ad3fd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -4144,10 +4144,6 @@ static void power_off_iris2(struct iris_hfi_device *device)
		dprintk(CVP_WARN,
			"DBLP Release: lpi_status %x\n", lpi_status);
	}
	/* HPG 6.1.2 Step 5 */
	if (__disable_regulators(device))
		dprintk(CVP_WARN, "Failed to disable regulators\n");


	/* HPG 6.1.2 Step 6 */
	__disable_unprepare_clks(device);
@@ -4159,6 +4155,10 @@ static void power_off_iris2(struct iris_hfi_device *device)
	if (__unvote_buses(device))
		dprintk(CVP_WARN, "Failed to unvote for buses\n");

	/* HPG 6.1.2 Step 5 */
	if (__disable_regulators(device))
		dprintk(CVP_WARN, "Failed to disable regulators\n");

	/*Do not access registers after this point!*/
	device->power_enabled = false;
}