From: Alexey Khoroshilov Date: Fri, 15 Apr 2011 20:40:17 +0000 (-0300) Subject: [media] lmedm04: Do not unlock mutex if mutex_lock_interruptible failed X-Git-Tag: v3.0-rc1~322^2~140 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f030abf9a77f10213bc5a2da2eff478d4d4e0c3;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed