summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda1004x.c
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-01-28 10:19:25 +0000
committerAndrew de Quincy <devnull@localhost>2004-01-28 10:19:25 +0000
commite346cd9a39a6041a65f2af5237f3189a0c1daf0f (patch)
treeae36dd09702f73d6a3d56eabd5b445d4f4620372 /linux/drivers/media/dvb/frontends/tda1004x.c
parentf8f7be1b32d756cc8f20a80f58acca7b902aaf2c (diff)
downloadmediapointer-dvb-s2-e346cd9a39a6041a65f2af5237f3189a0c1daf0f.tar.gz
mediapointer-dvb-s2-e346cd9a39a6041a65f2af5237f3189a0c1daf0f.tar.bz2
Need to re-invert inversion for tda10046 in get_fe()
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda1004x.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda1004x.c b/linux/drivers/media/dvb/frontends/tda1004x.c
index 0bb29fade..c9dc560cf 100644
--- a/linux/drivers/media/dvb/frontends/tda1004x.c
+++ b/linux/drivers/media/dvb/frontends/tda1004x.c
@@ -501,6 +501,7 @@ static int tda1004x_fwupload(struct dvb_i2c_bus *i2c, struct tda1004x_state *tda
// wait for DSP to initialise
switch(tda_state->fe_type) {
case FE_TYPE_TDA10045H:
+ // DSPREADY doesn't seem to work on the TDA10045H
dvb_delay(100);
break;
@@ -1009,6 +1010,11 @@ static int tda1004x_get_fe(struct dvb_i2c_bus *i2c, struct tda1004x_state* tda_s
fe_params->inversion = INVERSION_ON;
}
+ // need to invert the inversion for TT TDA10046H
+ if (tda_state->fe_type == FE_TYPE_TDA10046H) {
+ fe_params->inversion = fe_params->inversion ? INVERSION_OFF : INVERSION_ON;
+ }
+
// bandwidth
switch(tda_state->fe_type) {
case FE_TYPE_TDA10045H: