V4L/DVB (6810): media: video: usbvision: add mutex_unlock() to error paths
authorDaniel Walker <dwalker@mvista.com>
Wed, 12 Dec 2007 21:22:48 +0000 (18:22 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:36 +0000 (19:03 -0200)
commit0991112c1c4625323df8a582de1b2f8609922248
tree2dc53190e937a3d4b3a7fb40db13e530a959eea5
parent7cd355e7c0c02e499784c77e88720f7cc8f98473
V4L/DVB (6810): media: video: usbvision: add mutex_unlock() to error paths

There are a few error paths which don't unlock the usbvision->lock.

So I've added mutex_unlock() calls to fix those paths.

Signed-off-by: Daniel Walker <dwalker@mvista.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/usbvision/usbvision-video.c