[media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Fri, 15 Apr 2011 20:40:17 +0000 (17:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:51 +0000 (09:28 -0300)
There are a couple of places where mutex_unlock() is called even
if mutex_lock_interruptible() failed. The patch fixes the issue.

Found by Linux Driver Verification project (linuxtesting.org).

Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found