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

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

Merge "qcom: subsys-pil-tz: Correct disabling active clocks/regs in shutdown path"

parents 06ef703d f2cc58e4
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -476,9 +476,12 @@ static int pil_shutdown_trusted(struct pil_desc *pil)
	rc = pas_shutdown(d->pas_id);

	disable_unprepare_clocks(d->proxy_clks, d->proxy_clk_count);
	disable_unprepare_clocks(d->clks, d->clk_count);

	disable_regulators(d->proxy_regs, d->proxy_reg_count);

	if (rc)
		return rc;

	disable_unprepare_clocks(d->clks, d->clk_count);
	disable_regulators(d->regs, d->reg_count);

	return rc;