projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb63c2a
)
V4L/DVB (13596): ov511.c typo: lock => unlock
author
Dan Carpenter
<error27@gmail.com>
Thu, 10 Dec 2009 19:44:51 +0000
(16:44 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 16 Dec 2009 02:18:33 +0000
(
00:18
-0200)
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>
drivers/media/video/ov511.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/ov511.c
b/drivers/media/video/ov511.c
index c71865dcf48e6c215d4f0e86b6c866bfe54144f3..e0bce8dc74bf40f9147f005da042724704992531 100644
(file)
--- 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_
un
lock(&ov->lock);
return 0;