From: Dan Carpenter Date: Thu, 10 Dec 2009 19:44:51 +0000 (-0300) Subject: V4L/DVB (13596): ov511.c typo: lock => unlock X-Git-Tag: v2.6.33-rc1~70^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e;p=platform%2Fkernel%2Flinux-exynos.git V4L/DVB (13596): ov511.c typo: lock => unlock This was found with a static checker and has not been tested, but it seems pretty clear that the mutex_lock() was supposed to be mutex_unlock() Signed-off-by: Dan Carpenter Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c index c71865d..e0bce8d 100644 --- a/drivers/media/video/ov511.c +++ b/drivers/media/video/ov511.c @@ -5877,7 +5877,7 @@ ov51x_probe(struct usb_interface *intf, const struct usb_device_id *id) goto error; } - mutex_lock(&ov->lock); + mutex_unlock(&ov->lock); return 0;