projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
791a08f
)
V4L/DVB (12202): em28xx, fix lock imbalance
author
Jiri Slaby
<jirislaby@gmail.com>
Sun, 5 Jul 2009 17:06:41 +0000
(14:06 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 5 Jul 2009 22:21:48 +0000
(19:21 -0300)
There is one omitted unlock in em28xx_usb_probe. Fix that.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/em28xx/em28xx-cards.c
b/drivers/media/video/em28xx/em28xx-cards.c
index
8366c52
..
ebd24a2
100644
(file)
--- a/
drivers/media/video/em28xx/em28xx-cards.c
+++ b/
drivers/media/video/em28xx/em28xx-cards.c
@@
-2652,6
+2652,7
@@
static int em28xx_usb_probe(struct usb_interface *interface,
retval = em28xx_init_dev(&dev, udev, interface, nr);
if (retval) {
em28xx_devused &= ~(1<<dev->devno);
+ mutex_unlock(&dev->lock);
kfree(dev);
goto err;
}