[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)
commit6f030abf9a77f10213bc5a2da2eff478d4d4e0c3
tree688f987d05da108a5b84865d2e437f0eebd0b831
parenteeaaf817c7202b71a6e1aab87ebd538d1b5e5a42
[media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed

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>
drivers/media/dvb/dvb-usb/lmedm04.c