From: Imre Deak Date: Thu, 30 Sep 2010 09:36:15 +0000 (+0300) Subject: gpu: pvr: fix locking on the HW recovery reset error path X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13fafea8948a8570a2f422cfa7b47461059fc4bd;p=sgx.git gpu: pvr: fix locking on the HW recovery reset error path pvr_dev_lock is unbalanced on the code path where HW recovery reset fails. Signed-off-by: Imre Deak --- diff --git a/pvr/sgxinit.c b/pvr/sgxinit.c index 39c3cf9..be7fa0f 100644 --- a/pvr/sgxinit.c +++ b/pvr/sgxinit.c @@ -702,7 +702,6 @@ void HWRecoveryResetSGX(struct PVRSRV_DEVICE_NODE *psDeviceNode) pvr_disable(); PDUMPRESUME(); - pvr_dev_unlock(); return; }