summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/pac7302.c
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2010-06-24 04:50:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:51:30 -0300
commita1317135d109f4b6dd89caa1a9b2b6c8d54b09cd (patch)
tree56c08b1309529032173591728946e1b74579ea05 /drivers/media/video/gspca/pac7302.c
parent4e6aeefeb822c70d70de4d3b9970939e5de9c647 (diff)
downloadblackbird-op-linux-a1317135d109f4b6dd89caa1a9b2b6c8d54b09cd.tar.gz
blackbird-op-linux-a1317135d109f4b6dd89caa1a9b2b6c8d54b09cd.zip
V4L/DVB: gspca - pac7302/11: Bad request value in USB write
Signed-off-by: Jean-François Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/pac7302.c')
-rw-r--r--drivers/media/video/gspca/pac7302.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/pac7302.c b/drivers/media/video/gspca/pac7302.c
index 7c0f265fae9d..bf47180a4e2f 100644
--- a/drivers/media/video/gspca/pac7302.c
+++ b/drivers/media/video/gspca/pac7302.c
@@ -402,7 +402,7 @@ static void reg_w_buf(struct gspca_dev *gspca_dev,
memcpy(gspca_dev->usb_buf, buffer, len);
ret = usb_control_msg(gspca_dev->dev,
usb_sndctrlpipe(gspca_dev->dev, 0),
- 1, /* request */
+ 0, /* request */
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
0, /* value */
index, gspca_dev->usb_buf, len,
OpenPOWER on IntegriCloud