summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1004x.c
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-01-27 19:16:22 +0000
committerAndrew de Quincy <devnull@localhost>2004-01-27 19:16:22 +0000
commit042368a5cca6b749b9f395132c48dacb469993c7 (patch)
treef3faec0764b16025ffb371d545599a17d8504010 /linux/drivers/media/dvb/frontends/tda1004x.c
parentca8ac917bc4fd472d42516517de525fa4b5ea174 (diff)
downloadmediapointer-dvb-s2-042368a5cca6b749b9f395132c48dacb469993c7.tar.gz
mediapointer-dvb-s2-042368a5cca6b749b9f395132c48dacb469993c7.tar.bz2
Forgot to make sure inversion was on for TDA10046H
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index b3e6f9b23..6b02c4a66 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -985,7 +985,10 @@ static int tda1004x_set_fe(struct dvb_i2c_bus *i2c,
default:
return -EINVAL;
}
- tda1004x_write_mask(i2c, tda_state, TDA1004X_CONFC1, 0x20, 0x20); // hack hack
+
+ // temp hack
+ if (tda_state->fe_type == FE_TYPE_TDA10046H)
+ tda1004x_write_mask(i2c, tda_state, TDA1004X_CONFC1, 0x20, 0x20);
// set guard interval
switch (fe_params->u.ofdm.guard_interval) {