gpu: pvr: fix locking around HWRecoveryResetSGX
authorImre Deak <imre.deak@nokia.com>
Tue, 3 Aug 2010 10:40:32 +0000 (13:40 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
commit6ed13d8b566ff2499529cbcbfb3d77b262911f82
treec81f7bde4d0440a18296eee69004ea994b9a2474
parente7bfb391309ecba73ed380546b04755eddb38722
gpu: pvr: fix locking around HWRecoveryResetSGX

On the MISR / HW recovery path the pvr_dev_lock was taken twice
leading to a dead-lock. This regression was introduced by commit
ec53aaa940a4e40786eb7512b6a46ce347c95303.

Spotted-by: Luc Verhaegen <luc.verhaegen@basyskom.de>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/sgxinit.c