V4L/DVB (8552): gspca: Bad pixel format in the spca508 subdriver.
authorJean-Francois Moine <moinejf@free.fr>
Mon, 28 Jul 2008 10:52:27 +0000 (07:52 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 6 Aug 2008 09:57:02 +0000 (06:57 -0300)
The pixel format should have been changed in changeset 6de914aaad86.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/gspca/spca508.c

index b608a27ad1156e87267b5c75620292f7285bf1f0..6e213cf24cb33718281590b130282f8484da998d 100644 (file)
@@ -63,22 +63,22 @@ static struct ctrl sd_ctrls[] = {
 };
 
 static struct v4l2_pix_format sif_mode[] = {
-       {160, 120, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE,
+       {160, 120, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE,
                .bytesperline = 160 * 3,
                .sizeimage = 160 * 120 * 3 / 2,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 3},
-       {176, 144, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE,
+       {176, 144, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE,
                .bytesperline = 176 * 3,
                .sizeimage = 176 * 144 * 3 / 2,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 2},
-       {320, 240, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE,
+       {320, 240, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE,
                .bytesperline = 320 * 3,
                .sizeimage = 320 * 240 * 3 / 2,
                .colorspace = V4L2_COLORSPACE_SRGB,
                .priv = 1},
-       {352, 288, V4L2_PIX_FMT_YUYV, V4L2_FIELD_NONE,
+       {352, 288, V4L2_PIX_FMT_SPCA508, V4L2_FIELD_NONE,
                .bytesperline = 352 * 3,
                .sizeimage = 352 * 288 * 3 / 2,
                .colorspace = V4L2_COLORSPACE_SRGB,