diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-10-17 09:45:27 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-10-17 09:45:27 +0200 |
commit | b9a599d4ab39c5ba06f9f2775d38f0ca4c6ed5ee (patch) | |
tree | aa08d415f4d0d730c6c66add0314c49876e2c3a5 /linux/drivers/media | |
parent | 4e081c571904b427e9de3be2ab3f2bb947ae88c4 (diff) | |
download | mediapointer-dvb-s2-b9a599d4ab39c5ba06f9f2775d38f0ca4c6ed5ee.tar.gz mediapointer-dvb-s2-b9a599d4ab39c5ba06f9f2775d38f0ca4c6ed5ee.tar.bz2 |
gspca: Write to the USB device and not USB interface in t613.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/gspca/t613.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/gspca/t613.c b/linux/drivers/media/video/gspca/t613.c index 99a6f8474..c4887833a 100644 --- a/linux/drivers/media/video/gspca/t613.c +++ b/linux/drivers/media/video/gspca/t613.c @@ -385,7 +385,7 @@ static void reg_w(struct gspca_dev *gspca_dev, usb_control_msg(gspca_dev->dev, usb_sndctrlpipe(gspca_dev->dev, 0), 0, - USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, + USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0, index, NULL, 0, 500); } @@ -398,7 +398,7 @@ static void reg_w_buf(struct gspca_dev *gspca_dev, usb_control_msg(gspca_dev->dev, usb_sndctrlpipe(gspca_dev->dev, 0), 0, - USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, + USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0x01, 0, gspca_dev->usb_buf, len, 500); } else { @@ -409,7 +409,7 @@ static void reg_w_buf(struct gspca_dev *gspca_dev, usb_control_msg(gspca_dev->dev, usb_sndctrlpipe(gspca_dev->dev, 0), 0, - USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_INTERFACE, + USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, 0x01, 0, tmpbuf, len, 500); kfree(tmpbuf); |