diff options
-rw-r--r-- | drivers/media/video/gspca/t613.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c index 9c8562f23900..6aa3bca91b2f 100644 --- a/drivers/media/video/gspca/t613.c +++ b/drivers/media/video/gspca/t613.c | |||
@@ -385,7 +385,7 @@ static void reg_w(struct gspca_dev *gspca_dev, | |||
385 | usb_control_msg(gspca_dev->dev, | 385 | usb_control_msg(gspca_dev->dev, |
386 | usb_sndctrlpipe(gspca_dev->dev, 0), | 386 | usb_sndctrlpipe(gspca_dev->dev, 0), |
387 | 0, | 387 | 0, |
388 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, | 388 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, |
389 | 0, index, | 389 | 0, index, |
390 | NULL, 0, 500); | 390 | NULL, 0, 500); |
391 | } | 391 | } |
@@ -398,7 +398,7 @@ static void reg_w_buf(struct gspca_dev *gspca_dev, | |||
398 | usb_control_msg(gspca_dev->dev, | 398 | usb_control_msg(gspca_dev->dev, |
399 | usb_sndctrlpipe(gspca_dev->dev, 0), | 399 | usb_sndctrlpipe(gspca_dev->dev, 0), |
400 | 0, | 400 | 0, |
401 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, | 401 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, |
402 | 0x01, 0, | 402 | 0x01, 0, |
403 | gspca_dev->usb_buf, len, 500); | 403 | gspca_dev->usb_buf, len, 500); |
404 | } else { | 404 | } else { |
@@ -409,7 +409,7 @@ static void reg_w_buf(struct gspca_dev *gspca_dev, | |||
409 | usb_control_msg(gspca_dev->dev, | 409 | usb_control_msg(gspca_dev->dev, |
410 | usb_sndctrlpipe(gspca_dev->dev, 0), | 410 | usb_sndctrlpipe(gspca_dev->dev, 0), |
411 | 0, | 411 | 0, |
412 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, | 412 | USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, |
413 | 0x01, 0, | 413 | 0x01, 0, |
414 | tmpbuf, len, 500); | 414 | tmpbuf, len, 500); |
415 | kfree(tmpbuf); | 415 | kfree(tmpbuf); |