gpu: pvr: fix locking on the HW recovery reset error path
authorImre Deak <imre.deak@nokia.com>
Thu, 30 Sep 2010 09:36:15 +0000 (12:36 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
pvr_dev_lock is unbalanced on the code path where HW recovery reset
fails.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/sgxinit.c

index 39c3cf9..be7fa0f 100644 (file)
@@ -702,7 +702,6 @@ void HWRecoveryResetSGX(struct PVRSRV_DEVICE_NODE *psDeviceNode)
                pvr_disable();
 
                PDUMPRESUME();
-               pvr_dev_unlock();
 
                return;
        }