aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/vc032x.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-09-03 16:12:20 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-03 17:37:45 -0400
commit20122542df420a31532c8e2b5d4107e9846bac6b (patch)
treeafc57afc401db23d642e86597adba107a583d00e /drivers/media/video/gspca/vc032x.c
parent222a07ffd8e280b1bf4a6f7edab8b6fa27a5455a (diff)
V4L/DVB (8832): gspca: Bad pixelformat of vc0321 webcams.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/vc032x.c')
-rw-r--r--drivers/media/video/gspca/vc032x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index f8c3ff30e464..bd4c226c9a07 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -88,12 +88,12 @@ static struct ctrl sd_ctrls[] = {
88}; 88};
89 89
90static struct v4l2_pix_format vc0321_mode[] = { 90static struct v4l2_pix_format vc0321_mode[] = {
91 {320, 240, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE, 91 {320, 240, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
92 .bytesperline = 320, 92 .bytesperline = 320,
93 .sizeimage = 320 * 240 * 2, 93 .sizeimage = 320 * 240 * 2,
94 .colorspace = V4L2_COLORSPACE_SRGB, 94 .colorspace = V4L2_COLORSPACE_SRGB,
95 .priv = 1}, 95 .priv = 1},
96 {640, 480, V4L2_PIX_FMT_YUV420, V4L2_FIELD_NONE, 96 {640, 480, V4L2_PIX_FMT_YVYU, V4L2_FIELD_NONE,
97 .bytesperline = 640, 97 .bytesperline = 640,
98 .sizeimage = 640 * 480 * 2, 98 .sizeimage = 640 * 480 * 2,
99 .colorspace = V4L2_COLORSPACE_SRGB, 99 .colorspace = V4L2_COLORSPACE_SRGB,