Skip to content

Commit

Permalink
V4L/DVB (13596): ov511.c typo: lock => unlock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Dec 16, 2009
1 parent cb63c2a commit 50e9d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/ov511.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 50e9d31

Please sign in to comment.