aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index e34f311124e3..d929ced58ec3 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1290,6 +1290,7 @@ static int usbvision_radio_open(struct inode *inode, struct file *file)
1290 errCode = usbvision_set_alternate(usbvision); 1290 errCode = usbvision_set_alternate(usbvision);
1291 if (errCode < 0) { 1291 if (errCode < 0) {
1292 usbvision->last_error = errCode; 1292 usbvision->last_error = errCode;
1293 mutex_unlock(&usbvision->lock);
1293 return -EBUSY; 1294 return -EBUSY;
1294 } 1295 }
1295 1296
@@ -1807,6 +1808,7 @@ static int __devinit usbvision_probe(struct usb_interface *intf,
1807 usbvision->num_alt,GFP_KERNEL); 1808 usbvision->num_alt,GFP_KERNEL);
1808 if (usbvision->alt_max_pkt_size == NULL) { 1809 if (usbvision->alt_max_pkt_size == NULL) {
1809 err("usbvision: out of memory!\n"); 1810 err("usbvision: out of memory!\n");
1811 mutex_unlock(&usbvision->lock);
1810 return -ENOMEM; 1812 return -ENOMEM;
1811 } 1813 }
1812 1814