summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/mars.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-07-01 10:03:42 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 07:15:56 -0300
commit956e42d28f300f5bb928fb5850b3e3c0a8982d23 (patch)
tree473a9832d684d88d630bf8dadb0a0934ad5eff48 /drivers/media/video/gspca/mars.c
parent00528d9c2e9e15625883c161867cba61725ba335 (diff)
downloadkernel-crypto-956e42d28f300f5bb928fb5850b3e3c0a8982d23.tar.gz
kernel-crypto-956e42d28f300f5bb928fb5850b3e3c0a8982d23.tar.xz
kernel-crypto-956e42d28f300f5bb928fb5850b3e3c0a8982d23.zip
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 48b861d6829..d8cd2148f30 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)
if (0) { /* fixed dark-gain */
data[1] = 0; /* reg 94, Y Gain (1.75) */
data[2] = 0; /* reg 95, UV Gain (1.75) */
- data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */
+ data[3] = 0x3f; /* reg 96, Y Gain/UV Gain/disable
+ * auto dark-gain */
data[4] = 0; /* reg 97, set fixed dark level */
data[5] = 0; /* reg 98, don't care */
} else { /* auto dark-gain */
data[1] = 0; /* reg 94, Y Gain (auto) */
data[2] = 0; /* reg 95, UV Gain (1.75) */
- data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable auto dark-gain */
+ data[3] = 0x78; /* reg 96, Y Gain/UV Gain/disable
+ * auto dark-gain */
switch (gspca_dev->width) {
/* case 1280: */
/* data[4] = 154;