Skip to content

Commit

Permalink
V4L/DVB (9076): gspca: USB direction lacking in spca561.
Browse files Browse the repository at this point in the history
Signed-off-by: Shane <gnome42@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Shane authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 3c41cb7 commit 117a45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/spca561.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 117a45a

Please sign in to comment.