From 13fafea8948a8570a2f422cfa7b47461059fc4bd Mon Sep 17 00:00:00 2001 From: Imre Deak Date: Thu, 30 Sep 2010 12:36:15 +0300 Subject: [PATCH] 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 --- pvr/sgxinit.c | 1 - 1 file changed, 1 deletion(-) 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; } -- 2.39.5