summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Warman <dwarman@davidwarman.net>2007-04-30 14:17:04 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:23:17 -0300
commit8c7189d1939f6e15c4ebc23a98b3b9f34bd004d7 (patch)
tree6feadd758cc302771fb0b4831372330a742501aa
parent9fe01e5c297e716c6b50166c3c032a6c07604e5b (diff)
downloadblackbird-op-linux-8c7189d1939f6e15c4ebc23a98b3b9f34bd004d7.tar.gz
blackbird-op-linux-8c7189d1939f6e15c4ebc23a98b3b9f34bd004d7.zip
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>
-rw-r--r--drivers/media/video/usbvision/usbvision-core.c2
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
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 |
OpenPOWER on IntegriCloud