V4L/DVB (11403): gspca - m5602-s5k4aa: No more "default" mode
authorErik Andr?n <erik.andren@gmail.com>
Fri, 26 Dec 2008 14:56:43 +0000 (11:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 7 Apr 2009 00:44:34 +0000 (21:44 -0300)
Signed-off-by: Erik Andr?n <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_s5k4aa.h

index 1f88b0d..2f3af95 100644 (file)
@@ -143,13 +143,13 @@ static struct m5602_sensor s5k4aa = {
        .nmodes = 1,
        .modes = {
        {
-               M5602_DEFAULT_FRAME_WIDTH,
-               M5602_DEFAULT_FRAME_HEIGHT,
+               640,
+               480,
                V4L2_PIX_FMT_SBGGR8,
                V4L2_FIELD_NONE,
                .sizeimage =
-                       M5602_DEFAULT_FRAME_WIDTH * M5602_DEFAULT_FRAME_HEIGHT,
-               .bytesperline = M5602_DEFAULT_FRAME_WIDTH,
+                       640 * 480,
+               .bytesperline = 640,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 1
        }