msm: eva: Fix power collapse failure

In case there is a live but unused DSP session.

Change-Id: I7dd0d7baeb89365a2d8ba6905ddffd1e5569c872
Signed-off-by: George Shen <quic_sqiao@quicinc.com>
This commit is contained in:
George Shen
2022-07-07 14:05:29 -07:00
committed by Gerrit - the friendly Code Review server
vanhempi 1f62f73764
commit 98cd09c61f
3 muutettua tiedostoa jossa 7 lisäystä ja 9 poistoa

Näytä tiedosto

@@ -241,8 +241,8 @@ static int __dsp_suspend(struct iris_hfi_device *device, bool force, u32 flags)
/* don't suspend if cvp session is not paused */
if (!(temp->flags & SESSION_PAUSE)) {
dprintk(CVP_DSP,
"%s: cvp session %x not paused\n",
__func__, hash32_ptr(temp));
"%s: cvp session %x not paused %d\n",
__func__, hash32_ptr(temp), gfa_cv.state);
return -EBUSY;
}
}