aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-01 09:03:42 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 06:15:56 -0400
commit956e42d28f300f5bb928fb5850b3e3c0a8982d23 (patch)
tree473a9832d684d88d630bf8dadb0a0934ad5eff48 /drivers/media/video/gspca/mars.c
parent00528d9c2e9e15625883c161867cba61725ba335 (diff)
V4L/DVB (8180): Source cleanup - compile error with VIDEO_ADV_DEBUG.
main, etoms, mars, pac207, pac7311, sonixb, sonixj, spca500, spca505: Cleanup source. sunplus: Compilation error when VIDEO_ADV_DEBUG set. 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/mars.c')
-rw-r--r--drivers/media/video/gspca/mars.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/mars.c b/drivers/media/video/gspca/mars.c
index 48b861d68299..d8cd2148f301 100644
--- a/drivers/media/video/gspca/mars.c
+++ b/drivers/media/video/gspca/mars.c
@@ -220,13 +220,15 @@ static void sd_start(struct gspca_dev *gspca_dev)
220 if (0) { /* fixed dark-gain */ 220 if (0) { /* fixed dark-gain */
221 data[1] = 0; /* reg 94, Y Gain (1.75) */ 221 data[1] = 0; /* reg 94, Y Gain (1.75) */
222 data[2] = 0; /* reg 95, UV Gain (1.75) */ 222 data[2] = 0; /* reg 95, UV Gain (1.75) */
223 data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */ 223 data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable
224 * auto dark-gain */
224 data[4] = 0; /* reg 97, set fixed dark level */ 225 data[4] = 0; /* reg 97, set fixed dark level */
225 data[5] = 0; /* reg 98, don't care */ 226 data[5] = 0; /* reg 98, don't care */
226 } else { /* auto dark-gain */ 227 } else { /* auto dark-gain */
227 data[1] = 0; /* reg 94, Y Gain (auto) */ 228 data[1] = 0; /* reg 94, Y Gain (auto) */
228 data[2] = 0; /* reg 95, UV Gain (1.75) */ 229 data[2] = 0; /* reg 95, UV Gain (1.75) */
229 data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */ 230 data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable
231 * auto dark-gain */
230 switch (gspca_dev->width) { 232 switch (gspca_dev->width) {
231/* case 1280: */ 233/* case 1280: */
232/* data[4] = 154; 234/* data[4] = 154;