diff options
author | Douglas Schilling Landgraf <dougsland@redhat.com> | 2009-07-05 14:06:41 -0300 |
---|---|---|
committer | Douglas Schilling Landgraf <dougsland@redhat.com> | 2009-07-05 14:06:41 -0300 |
commit | 86ef69f11da81856aff2e001226cc47cafacb68b (patch) | |
tree | 5e472fb7e681b51aff365f2ef8d70f0cd7de6517 /linux/drivers/media/video | |
parent | ecb01359f35d66a31d65002a40bee45b64cec4d7 (diff) | |
download | mediapointer-dvb-s2-86ef69f11da81856aff2e001226cc47cafacb68b.tar.gz mediapointer-dvb-s2-86ef69f11da81856aff2e001226cc47cafacb68b.tar.bz2 |
em28xx, fix lock imbalance
From: Jiri Slaby <jirislaby@gmail.com>
There is one omitted unlock in em28xx_usb_probe. Fix that.
Priority: normal
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/em28xx/em28xx-cards.c | 1 |
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 e63c2e64e..dd6d42830 100644 --- a/linux/drivers/media/video/em28xx/em28xx-cards.c +++ b/linux/drivers/media/video/em28xx/em28xx-cards.c @@ -2725,6 +2725,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; } |