aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorHans de Goede <j.w.r.degoede@hhs.nl>2008-07-03 05:48:22 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:16:29 -0400
commitd646e701819f994c5cb1507dc859b739b5478d32 (patch)
treea9739024eb2848c4c162b590f60375d799a93467 /drivers/media/video/gspca/zc3xx.c
parent0c61621412ca09bd692cef86d4c9f358d5e81b0c (diff)
V4L/DVB (8191): gspca: Make CONFIG_VIDEO_ADV_DEBUG actually work.
Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/gspca/zc3xx.c')
-rw-r--r--drivers/media/video/gspca/zc3xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index b767f32511bb..ccd24cb92b3f 100644
--- a/drivers/media/video/gspca/zc3xx.c
+++ b/drivers/media/video/gspca/zc3xx.c
@@ -6432,7 +6432,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
6432 0, Tgradient_1, Tgradient_2, 6432 0, Tgradient_1, Tgradient_2,
6433 Tgradient_3, Tgradient_4, Tgradient_5, Tgradient_6 6433 Tgradient_3, Tgradient_4, Tgradient_5, Tgradient_6
6434 }; 6434 };
6435#ifdef VIDEO_ADV_DEBUG 6435#ifdef CONFIG_VIDEO_ADV_DEBUG
6436 __u8 v[16]; 6436 __u8 v[16];
6437#endif 6437#endif
6438 6438
@@ -6450,7 +6450,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
6450 else if (g <= 0) 6450 else if (g <= 0)
6451 g = 1; 6451 g = 1;
6452 reg_w(dev, g, 0x0120 + i); /* gamma */ 6452 reg_w(dev, g, 0x0120 + i); /* gamma */
6453#ifdef VIDEO_ADV_DEBUG 6453#ifdef CONFIG_VIDEO_ADV_DEBUG
6454 if (gspca_debug & D_CONF) 6454 if (gspca_debug & D_CONF)
6455 v[i] = g; 6455 v[i] = g;
6456#endif 6456#endif
@@ -6470,7 +6470,7 @@ static void setcontrast(struct gspca_dev *gspca_dev)
6470 g = 1; 6470 g = 1;
6471 } 6471 }
6472 reg_w(dev, g, 0x0130 + i); /* gradient */ 6472 reg_w(dev, g, 0x0130 + i); /* gradient */
6473#ifdef VIDEO_ADV_DEBUG 6473#ifdef CONFIG_VIDEO_ADV_DEBUG
6474 if (gspca_debug & D_CONF) 6474 if (gspca_debug & D_CONF)
6475 v[i] = g; 6475 v[i] = g;
6476#endif 6476#endif