summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/em28xx/em28xx-cards.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:58:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:58:38 -0300
commit59ad1e534e569f743df108421f369cbf915f2e6e (patch)
tree7a3a0177c072cc3fc8b4ff5204e7065d7971115c /linux/drivers/media/video/em28xx/em28xx-cards.c
parent9cc45cab6319967ccacdcb3b8c848ec555941200 (diff)
parent21ffe960decd954bf2e0959e5d85ec5484477bbd (diff)
downloadmediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.gz
mediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.bz2
merge: http://linuxtv.org/hg/~awalls/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/em28xx/em28xx-cards.c')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-cards.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-cards.c b/linux/drivers/media/video/em28xx/em28xx-cards.c
index 7f4004a00..e13f141c7 100644
--- a/linux/drivers/media/video/em28xx/em28xx-cards.c
+++ b/linux/drivers/media/video/em28xx/em28xx-cards.c
@@ -2771,6 +2771,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;
}