V4L/DVB (9309): s5h1411: I/F related bugfix for 3.25 and remove spurious define
authorSteven Toth <stoth@linuxtv.org>
Fri, 17 Oct 2008 02:16:50 +0000 (23:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 Oct 2008 16:30:43 +0000 (14:30 -0200)
This should improve performance.

Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1411.c
drivers/media/dvb/frontends/s5h1411.h

index a642cae636064ae0923a790d40a06757d61e4f62..25a3fb31e023a77c2d7a4dcf0e710deae8889bd5 100644 (file)
@@ -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;
index 7d542bc00c487e9ad9c27e92d2c2f12e9e3d9642..2370a06debdb1ff98e8877639bfaef456600d527 100644 (file)
@@ -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