]> err.no Git - linux-2.6/commitdiff
V4L/DVB (5642): add comment that VO_MODE is also being set.
authorDavid Warman <dwarman@davidwarman.net>
Mon, 30 Apr 2007 17:17:04 +0000 (14:17 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 18 Jul 2007 17:23:17 +0000 (14:23 -0300)
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>
drivers/media/video/usbvision/usbvision-core.c

index 7df071eb0a3b2f2bc1317ca2cabe4b9a7ac443db..02ccd96d5e52ee401eaf7334ae84b13e42b1f14f 100644 (file)
@@ -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 |