summaryrefslogtreecommitdiff
path: root/drivers/media/video
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2009-12-10 16:44:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 00:18:33 -0200
commit50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e (patch)
treef84058e19196185ea09b07bde03302abadcdec83 /drivers/media/video
parentcb63c2aad232930da8c8b5c5020dd560cb885cf5 (diff)
downloadlinux-3.10-50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e.tar.gz
linux-3.10-50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e.tar.bz2
linux-3.10-50e9d31183ed61c787b870cb3ee8f6c3db8c8a1e.zip
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 <error27@gmail.com> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/ov511.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ov511.c b/drivers/media/video/ov511.c
index c71865dcf48..e0bce8dc74b 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;