Powering on the device can't fail any more with a 'retry' error so we can't
have the corresponding condition here. See the similar commit 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>
if (eError == PVRSRV_OK) {
psDeviceNode->bReProcessDeviceCommandComplete = IMG_FALSE;
} else {
- if (eError == PVRSRV_ERROR_RETRY) {
- if (ui32CallerID == ISR_ID) {
- psDeviceNode->bReProcessDeviceCommandComplete =
- IMG_TRUE;
- eError = PVRSRV_OK;
- } else {
-
- }
- } else
- PVR_DPF(PVR_DBG_ERROR, "SGXScheduleCCBCommandKM "
- "failed to acquire lock - "
- "ui32CallerID:%ld eError:%lu",
- ui32CallerID, eError);
+ PVR_DPF(PVR_DBG_ERROR, "%s: can't power on device (%d)",
+ __func__, eError);
return eError;
}