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

Commit 84dbfbca authored by Haseeb Khan's avatar Haseeb Khan
Browse files

msm: cvp: Resuming DSP if power collapse fails



If PC fails due to any reason, make sure to resume the DSP back
as DSP might still have the pending transactions.

Change-Id: I82bd288869327b9bf84e9ab9bdd31b8d2983d817
Signed-off-by: default avatarHaseeb Khan <quic_hkhan@quicinc.com>
parent edd20532
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2931,6 +2931,7 @@ static int __power_collapse(struct iris_hfi_device *device, bool force)
	dprintk(CVP_WARN, "Skip PC(%#x, %#x, %#x)\n",
		wfi_status, idle_status, pc_ready);
	__flush_debug_queue(device, device->raw_packet);
	__dsp_resume(device, 0);
	return -EAGAIN;
}