aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/video/gspca/zc3xx.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index 54735dd61bb..998017eacc1 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -194,7 +194,7 @@ static const struct ctrl sd_ctrls[NCTRLS] = {
194 .type = V4L2_CTRL_TYPE_INTEGER, 194 .type = V4L2_CTRL_TYPE_INTEGER,
195 .name = "Compression Quality", 195 .name = "Compression Quality",
196 .minimum = 50, 196 .minimum = 50,
197 .maximum = 94, 197 .maximum = 87,
198 .step = 1, 198 .step = 1,
199 .default_value = 75, 199 .default_value = 75,
200 }, 200 },
@@ -241,8 +241,11 @@ static const struct v4l2_pix_format sif_mode[] = {
241 .priv = 0}, 241 .priv = 0},
242}; 242};
243 243
244/* bridge reg08 bits 1-2 -> JPEG quality conversion table */ 244/*
245static u8 jpeg_qual[] = {50, 75, 87, 94}; 245 * Bridge reg08 bits 1-2 -> JPEG quality conversion table. Note the highest
246 * quality setting is not usable as USB 1 does not have enough bandwidth.
247 */
248static u8 jpeg_qual[] = {50, 75, 87, /* 94 */};
246 249
247/* usb exchanges */ 250/* usb exchanges */
248struct usb_action { 251struct usb_action {