aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-07-07 07:55:06 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 17:41:30 -0400
commit1ea172d2fddcf7c5859a0f90db5caca6f29e28ae (patch)
treefd3121837833122a03d0a81fe85c1b7994b145a1
parent3f25ea562baea36b7c3470d59aad455766349e3c (diff)
[media] gspca_t613: Disable CIF resolutions
These are broken with my test cam and I've been unable to fix them. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/t613.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/t613.c b/drivers/media/video/gspca/t613.c
index 01414bafaacf..8bc6c3ceec2c 100644
--- a/drivers/media/video/gspca/t613.c
+++ b/drivers/media/video/gspca/t613.c
@@ -64,21 +64,25 @@ static const struct v4l2_pix_format vga_mode_t16[] = {
64 .sizeimage = 160 * 120 * 4 / 8 + 590, 64 .sizeimage = 160 * 120 * 4 / 8 + 590,
65 .colorspace = V4L2_COLORSPACE_JPEG, 65 .colorspace = V4L2_COLORSPACE_JPEG,
66 .priv = 4}, 66 .priv = 4},
67#if 0 /* HDG: broken with my test cam, so lets disable it */
67 {176, 144, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 68 {176, 144, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
68 .bytesperline = 176, 69 .bytesperline = 176,
69 .sizeimage = 176 * 144 * 3 / 8 + 590, 70 .sizeimage = 176 * 144 * 3 / 8 + 590,
70 .colorspace = V4L2_COLORSPACE_JPEG, 71 .colorspace = V4L2_COLORSPACE_JPEG,
71 .priv = 3}, 72 .priv = 3},
73#endif
72 {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 74 {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
73 .bytesperline = 320, 75 .bytesperline = 320,
74 .sizeimage = 320 * 240 * 3 / 8 + 590, 76 .sizeimage = 320 * 240 * 3 / 8 + 590,
75 .colorspace = V4L2_COLORSPACE_JPEG, 77 .colorspace = V4L2_COLORSPACE_JPEG,
76 .priv = 2}, 78 .priv = 2},
79#if 0 /* HDG: broken with my test cam, so lets disable it */
77 {352, 288, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 80 {352, 288, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
78 .bytesperline = 352, 81 .bytesperline = 352,
79 .sizeimage = 352 * 288 * 3 / 8 + 590, 82 .sizeimage = 352 * 288 * 3 / 8 + 590,
80 .colorspace = V4L2_COLORSPACE_JPEG, 83 .colorspace = V4L2_COLORSPACE_JPEG,
81 .priv = 1}, 84 .priv = 1},
85#endif
82 {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 86 {640, 480, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
83 .bytesperline = 640, 87 .bytesperline = 640,
84 .sizeimage = 640 * 480 * 3 / 8 + 590, 88 .sizeimage = 640 * 480 * 3 / 8 + 590,