Commit 8c7189d1 authored by David Warman's avatar David Warman Committed by Mauro Carvalho Chehab

V4L/DVB (5642): add comment that VO_MODE is also being set.

usbvision_set_video_format: add comment that VO_MODE is also being set.
Signed-off-by: default avatarDavid Warman <dwarman@davidwarman.net>
Signed-off-by: default avatarThierry MERLE <thierry.merle@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 9fe01e5c
...@@ -1742,7 +1742,7 @@ static int usbvision_set_video_format(struct usb_usbvision *usbvision, int forma ...@@ -1742,7 +1742,7 @@ static int usbvision_set_video_format(struct usb_usbvision *usbvision, int forma
format = ISOC_MODE_YUV420; format = ISOC_MODE_YUV420;
} }
value[0] = 0x0A; //TODO: See the effect of the filter value[0] = 0x0A; //TODO: See the effect of the filter
value[1] = format; value[1] = format; // Sets the VO_MODE register which follows FILT_CONT
rc = usb_control_msg(usbvision->dev, usb_sndctrlpipe(usbvision->dev, 1), rc = usb_control_msg(usbvision->dev, usb_sndctrlpipe(usbvision->dev, 1),
USBVISION_OP_CODE, USBVISION_OP_CODE,
USB_DIR_OUT | USB_TYPE_VENDOR | USB_DIR_OUT | USB_TYPE_VENDOR |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment