summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-12-08 15:12:24 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-12-08 15:12:24 +0000
commit9f7c5513964f4aa7c2d7bcd79d56f3e5002d4a58 (patch)
tree99249c55b9652da365ff7a7bdfd53fac7cfca6cd /linux/drivers/media/dvb/frontends
parent75f82519ae1a4af2d3c7f0cf2509770566cbeeff (diff)
downloadmediapointer-dvb-s2-9f7c5513964f4aa7c2d7bcd79d56f3e5002d4a58.tar.gz
mediapointer-dvb-s2-9f7c5513964f4aa7c2d7bcd79d56f3e5002d4a58.tar.bz2
more #if 0 / #if 1 fixes to be in sync with kernel
kernel-sync - more #if 0 / #if 1 fixes to be in sync with kernel Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/lgdt330x.c6
-rw-r--r--linux/drivers/media/dvb/frontends/stv0297.c2
-rw-r--r--linux/drivers/media/dvb/frontends/tda80xx.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt330x.c b/linux/drivers/media/dvb/frontends/lgdt330x.c
index a36cbbd0f..b77357c59 100644
--- a/linux/drivers/media/dvb/frontends/lgdt330x.c
+++ b/linux/drivers/media/dvb/frontends/lgdt330x.c
@@ -446,7 +446,7 @@ static int lgdt3302_read_status(struct dvb_frontend* fe, fe_status_t* status)
i2c_read_demod_bytes(state, TOP_CONTROL, buf, sizeof(buf));
dprintk("%s: TOP_CONTROL = 0x%02x, IRO_MASK = 0x%02x, IRQ_STATUS = 0x%02x\n", __FUNCTION__, buf[0], buf[1], buf[2]);
-#if 0 /* keep */
+#if 0
/* Alternative method to check for a signal */
/* using the SNR good/bad interrupts. */
if ((buf[2] & 0x30) == 0x10)
@@ -650,7 +650,7 @@ static int lgdt3302_read_snr(struct dvb_frontend* fe, u16* snr)
i2c_read_demod_bytes(state, EQPH_ERR0, buf, sizeof(buf));
if (state->current_modulation == VSB_8) {
-#if 0 /* keep */
+#if 0
/* Equalizer Mean-Square Error Register for VSB */
noise = ((buf[0] & 7) << 16) | (buf[1] << 8) | buf[2];
#else
@@ -682,7 +682,7 @@ static int lgdt3303_read_snr(struct dvb_frontend* fe, u16* snr)
if (state->current_modulation == VSB_8) {
-#if 0 /* keep */
+#if 0
/* Equalizer Mean-Square Error Register for VSB */
noise = ((buf[0] & 0x78) << 13) | (buf[1] << 8) | buf[2];
#else
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c
index 6122ba754..00bd2118b 100644
--- a/linux/drivers/media/dvb/frontends/stv0297.c
+++ b/linux/drivers/media/dvb/frontends/stv0297.c
@@ -39,7 +39,7 @@ struct stv0297_state {
unsigned long base_freq;
};
-#if 1
+#if 1 /* keep */
#define dprintk(x...) printk(x)
#else
#define dprintk(x...)
diff --git a/linux/drivers/media/dvb/frontends/tda80xx.c b/linux/drivers/media/dvb/frontends/tda80xx.c
index c47660bd1..635f693bd 100644
--- a/linux/drivers/media/dvb/frontends/tda80xx.c
+++ b/linux/drivers/media/dvb/frontends/tda80xx.c
@@ -412,7 +412,7 @@ static int tda8044_init(struct dvb_frontend* fe)
return ret;
tda80xx_writereg(state, 0x0f, 0x50);
-#if 1
+#if 1 /* keep */
tda80xx_writereg(state, 0x20, 0x8F); /* FIXME */
tda80xx_writereg(state, 0x20, state->config->volt18setting); /* FIXME */
//tda80xx_writereg(state, 0x00, 0x04);