summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/mt352.c
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2004-06-07 14:13:50 +0000
committerHolger Waechtler <devnull@localhost>2004-06-07 14:13:50 +0000
commitc36dd8a295b3570428cf5d94678ed9f22742f0fc (patch)
treebee880ef1417ed1f7da7caf4f889b8cd6ddb38fd /linux/drivers/media/dvb/frontends/mt352.c
parent0df8b50070b410cb439ddf590c05f8998778fb3e (diff)
downloadmediapointer-dvb-s2-c36dd8a295b3570428cf5d94678ed9f22742f0fc.tar.gz
mediapointer-dvb-s2-c36dd8a295b3570428cf5d94678ed9f22742f0fc.tar.bz2
fixed TPS shifts... never showed up before since TPS probing worked too good here ;)
Diffstat (limited to 'linux/drivers/media/dvb/frontends/mt352.c')
-rw-r--r--linux/drivers/media/dvb/frontends/mt352.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c
index 5d8f6aee1..74f5f92d8 100644
--- a/linux/drivers/media/dvb/frontends/mt352.c
+++ b/linux/drivers/media/dvb/frontends/mt352.c
@@ -113,16 +113,16 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->code_rate_HP) {
case FEC_2_3:
- tps |= (1 << 9);
+ tps |= (1 << 7);
break;
case FEC_3_4:
- tps |= (2 << 9);
+ tps |= (2 << 7);
break;
case FEC_5_6:
- tps |= (3 << 9);
+ tps |= (3 << 7);
break;
case FEC_7_8:
- tps |= (4 << 9);
+ tps |= (4 << 7);
break;
case FEC_AUTO:
break;
@@ -132,16 +132,16 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->code_rate_LP) {
case FEC_2_3:
- tps |= (1 << 6);
+ tps |= (1 << 4);
break;
case FEC_3_4:
- tps |= (2 << 6);
+ tps |= (2 << 4);
break;
case FEC_5_6:
- tps |= (3 << 6);
+ tps |= (3 << 4);
break;
case FEC_7_8:
- tps |= (4 << 6);
+ tps |= (4 << 4);
break;
case FEC_AUTO:
break;
@@ -151,10 +151,10 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->constellation) {
case QAM_16:
- tps |= (1 << 14);
+ tps |= (1 << 13);
break;
case QAM_64:
- tps |= (2 << 14);
+ tps |= (2 << 13);
break;
default:
;
@@ -162,7 +162,7 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->transmission_mode) {
case TRANSMISSION_MODE_8K:
- tps |= (1 << 1);
+ tps |= (1 << 0);
break;
default:
;
@@ -170,13 +170,13 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->guard_interval) {
case GUARD_INTERVAL_1_16:
- tps |= (1 << 3);
+ tps |= (1 << 2);
break;
case GUARD_INTERVAL_1_8:
- tps |= (2 << 3);
+ tps |= (2 << 2);
break;
case GUARD_INTERVAL_1_4:
- tps |= (3 << 3);
+ tps |= (3 << 2);
break;
default:
;
@@ -184,13 +184,13 @@ int mt352_set_parameters (struct dvb_i2c_bus *i2c,
switch (op->hierarchy_information) {
case HIERARCHY_1:
- tps |= (1 << 12);
+ tps |= (1 << 10);
break;
case HIERARCHY_2:
- tps |= (2 << 12);
+ tps |= (2 << 10);
break;
case HIERARCHY_4:
- tps |= (3 << 12);
+ tps |= (3 << 10);
break;
default:
;