summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/usbvision
diff options
context:
space:
mode:
authorThierry MERLE <thierry.merle@free.fr>2007-04-30 19:17:04 +0200
committerThierry MERLE <thierry.merle@free.fr>2007-04-30 19:17:04 +0200
commit3a13092e3270b919e5ac73ad8dde0044b23b07e0 (patch)
treedaff679b668edaaf2e8bc3e01fab31a5c6792ad1 /linux/drivers/media/video/usbvision
parent36ef993bd46b559e9cd765105a0cdae9c17a34a4 (diff)
downloadmediapointer-dvb-s2-3a13092e3270b919e5ac73ad8dde0044b23b07e0.tar.gz
mediapointer-dvb-s2-3a13092e3270b919e5ac73ad8dde0044b23b07e0.tar.bz2
usbvision-core.c:usbvision_set_video_format: add comment that VO_MODE is also being set.
From: David Warman <dwarman@davidwarman.net> Signed-off-by: David Warman <dwarman@davidwarman.net> Signed-off-by: Thierry MERLE <thierry.merle@free.fr>
Diffstat (limited to 'linux/drivers/media/video/usbvision')
-rw-r--r--linux/drivers/media/video/usbvision/usbvision-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/usbvision/usbvision-core.c b/linux/drivers/media/video/usbvision/usbvision-core.c
index 325561324..fda7fb482 100644
--- a/linux/drivers/media/video/usbvision/usbvision-core.c
+++ b/linux/drivers/media/video/usbvision/usbvision-core.c
@@ -1798,7 +1798,7 @@ static int usbvision_set_video_format(struct usb_usbvision *usbvision, int forma
format = ISOC_MODE_YUV420;
}
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),
USBVISION_OP_CODE,
USB_DIR_OUT | USB_TYPE_VENDOR |