diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 34 |
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: ; |