aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-core.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c
index 2038d409f1dc..9e404b87d000 100644
--- a/drivers/media/video/usbvision/usbvision-core.c
+++ b/drivers/media/video/usbvision/usbvision-core.c
@@ -1561,13 +1561,10 @@ static int usbvision_write_reg_irq(struct usb_usbvision *usbvision,int address,
1561 if (len > 8) { 1561 if (len > 8) {
1562 return -EFAULT; 1562 return -EFAULT;
1563 } 1563 }
1564// down(&usbvision->ctrlUrbLock);
1565 if (usbvision->ctrlUrbBusy) { 1564 if (usbvision->ctrlUrbBusy) {
1566// up(&usbvision->ctrlUrbLock);
1567 return -EBUSY; 1565 return -EBUSY;
1568 } 1566 }
1569 usbvision->ctrlUrbBusy = 1; 1567 usbvision->ctrlUrbBusy = 1;
1570// up(&usbvision->ctrlUrbLock);
1571 1568
1572 usbvision->ctrlUrbSetup.bRequestType = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT; 1569 usbvision->ctrlUrbSetup.bRequestType = USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_ENDPOINT;
1573 usbvision->ctrlUrbSetup.bRequest = USBVISION_OP_CODE; 1570 usbvision->ctrlUrbSetup.bRequest = USBVISION_OP_CODE;