diff options
author | David Warman <dwarman@davidwarman.net> | 2007-04-30 13:17:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:17 -0400 |
commit | 8c7189d1939f6e15c4ebc23a98b3b9f34bd004d7 (patch) | |
tree | 6feadd758cc302771fb0b4831372330a742501aa /drivers/media/video/usbvision | |
parent | 9fe01e5c297e716c6b50166c3c032a6c07604e5b (diff) |
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: David Warman <dwarman@davidwarman.net>
Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvision/usbvision-core.c b/drivers/media/video/usbvision/usbvision-core.c index 7df071eb0a3b..02ccd96d5e52 100644 --- a/drivers/media/video/usbvision/usbvision-core.c +++ b/drivers/media/video/usbvision/usbvision-core.c | |||
@@ -1742,7 +1742,7 @@ static int usbvision_set_video_format(struct usb_usbvision *usbvision, int forma | |||
1742 | format = ISOC_MODE_YUV420; | 1742 | format = ISOC_MODE_YUV420; |
1743 | } | 1743 | } |
1744 | value[0] = 0x0A; //TODO: See the effect of the filter | 1744 | value[0] = 0x0A; //TODO: See the effect of the filter |
1745 | value[1] = format; | 1745 | value[1] = format; // Sets the VO_MODE register which follows FILT_CONT |
1746 | rc = usb_control_msg(usbvision->dev, usb_sndctrlpipe(usbvision->dev, 1), | 1746 | rc = usb_control_msg(usbvision->dev, usb_sndctrlpipe(usbvision->dev, 1), |
1747 | USBVISION_OP_CODE, | 1747 | USBVISION_OP_CODE, |
1748 | USB_DIR_OUT | USB_TYPE_VENDOR | | 1748 | USB_DIR_OUT | USB_TYPE_VENDOR | |