summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-10-16 22:16:50 -0400
committerSteven Toth <stoth@linuxtv.org>2008-10-16 22:16:50 -0400
commit8b08dc76bbe323b941b823d289c498f27057456f (patch)
tree3232770bdabc7c36dbfd67b1fec5e86b1fc9b5d1 /linux
parentd20f690594fe1e459fb4e61d65546fc133df3793 (diff)
downloadmediapointer-dvb-s2-8b08dc76bbe323b941b823d289c498f27057456f.tar.gz
mediapointer-dvb-s2-8b08dc76bbe323b941b823d289c498f27057456f.tar.bz2
s5h1411: I/F related bugfix for 3.25 and remove spurious define
From: Steven Toth <stoth@linuxtv.org> This should improve performance. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/s5h1411.c2
-rw-r--r--linux/drivers/media/dvb/frontends/s5h1411.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/s5h1411.c b/linux/drivers/media/dvb/frontends/s5h1411.c
index a642cae63..25a3fb31e 100644
--- a/linux/drivers/media/dvb/frontends/s5h1411.c
+++ b/linux/drivers/media/dvb/frontends/s5h1411.c
@@ -392,7 +392,7 @@ static int s5h1411_set_if_freq(struct dvb_frontend *fe, int KHz)
switch (KHz) {
case 3250:
- s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x38, 0x10d9);
+ s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x38, 0x10d5);
s5h1411_writereg(state, S5H1411_I2C_TOP_ADDR, 0x39, 0x5342);
s5h1411_writereg(state, S5H1411_I2C_QAM_ADDR, 0x2c, 0x10d9);
break;
diff --git a/linux/drivers/media/dvb/frontends/s5h1411.h b/linux/drivers/media/dvb/frontends/s5h1411.h
index 7d542bc00..2370a06de 100644
--- a/linux/drivers/media/dvb/frontends/s5h1411.h
+++ b/linux/drivers/media/dvb/frontends/s5h1411.h
@@ -47,7 +47,6 @@ struct s5h1411_config {
u16 mpeg_timing;
/* IF Freq for QAM and VSB in KHz */
-#define S5H1411_IF_2500 2500
#define S5H1411_IF_3500 3500
#define S5H1411_IF_4000 4000
#define S5H1411_IF_5380 5380