Powering off can't fail now with a 'retry' error, so we can't have the
corresponding condition here. See the similar commits earlier in the
patchset for a more detailed explanation.
Signed-off-by: Imre Deak <imre.deak@nokia.com>
CC: Mark Underwood <mark.underwood@imgtec.com>
CC: Mark Riding <mark.riding@imgtec.com>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@nokia.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@nokia.com>
PVRSRV_POWER_STATE_D3);
if (eError == PVRSRV_OK)
SGXPostActivePowerEvent(psDeviceNode, ui32CallerID);
- if (eError == PVRSRV_ERROR_RETRY) {
- l = readl(&psSGXHostCtl->ui32InterruptClearFlags);
- l &= ~PVRSRV_USSE_EDM_INTERRUPT_ACTIVE_POWER;
- writel(l, &psSGXHostCtl->ui32InterruptClearFlags);
- eError = PVRSRV_OK;
- }
PDUMPRESUME();