diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-15 09:18:51 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-09-15 09:18:51 +0200 |
commit | 58e2c9ce366522dbee31bb65dcb5fd662d3a5309 (patch) | |
tree | 8beeb99c2b1418dbcae38efecddb5aafaefda2f6 /linux/drivers/media | |
parent | e7cd79e8f08b3f9fc578bd92afc58117049774d8 (diff) | |
download | mediapointer-dvb-s2-58e2c9ce366522dbee31bb65dcb5fd662d3a5309.tar.gz mediapointer-dvb-s2-58e2c9ce366522dbee31bb65dcb5fd662d3a5309.tar.bz2 |
gspca: USB direction lacking in spca561.
From: Shane <gnome42@gmail.com>
Priority: normal
Signed-off-by: Shane <gnome42@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/video/gspca/spca561.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/spca561.c b/linux/drivers/media/video/gspca/spca561.c index 910c550cd..81b9866c0 100644 --- a/linux/drivers/media/video/gspca/spca561.c +++ b/linux/drivers/media/video/gspca/spca561.c @@ -152,7 +152,7 @@ static void reg_w_val(struct usb_device *dev, __u16 index, __u8 value) ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), 0, /* request */ - USB_TYPE_VENDOR | USB_RECIP_DEVICE, + USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, value, index, NULL, 0, 500); PDEBUG(D_USBO, "reg write: 0x%02x:0x%02x", index, value); if (ret < 0) |