gpu: pvr: Fixed error path in cache flush function.
authorJanusz Sobczak <janusz.sobczak@imgtec.com>
Wed, 11 Aug 2010 13:00:12 +0000 (15:00 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:42 +0000 (21:09 +0300)
commitabfe2fa05ef88608037db9f902160f2ce8d43f61
treef2d7ff8cf24cf46bfddabdccc8f71bae8b610c0c
parentc5c735af603024e8c827358ff2658270baa8e51a
gpu: pvr: Fixed error path in cache flush function.

PVRSRVCacheFlushDRIBW returns in the error path without releasing
current->mm->mmap_sem semaphore.
The client application stalls forever and cannot be killed.

Signed-off-by: Janusz Sobczak <janusz.sobczak@imgtec.com>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/bridged_pvr_bridge.c