From f20471393128fcbc10c370e0baf61ac1b016d562 Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Tue, 6 Apr 2010 02:02:29 +0300 Subject: [PATCH] gpu: pvr: no need to check for retry failures in SGXTestActivePowerEvent MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 CC: Mark Underwood CC: Mark Riding Reviewed-by: Topi Pohjolainen Reviewed-by: Ville Syrjälä --- pvr/sgxutils.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pvr/sgxutils.c b/pvr/sgxutils.c index 1d693e7..54b0a05 100644 --- a/pvr/sgxutils.c +++ b/pvr/sgxutils.c @@ -94,12 +94,6 @@ void SGXTestActivePowerEvent(struct PVRSRV_DEVICE_NODE *psDeviceNode, 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(); -- 2.47.2