summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv0299.c
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-03-13 18:14:21 +0000
committerAndrew de Quincy <devnull@localhost>2004-03-13 18:14:21 +0000
commit34efdd4ab0b8842ece57120d0f662bffc9d8bc46 (patch)
tree3cd8913383821bb20e66c628533c0a0fd6871357 /linux/drivers/media/dvb/frontends/stv0299.c
parent3f530f28fddc3262765bcd5c6d17686d368ea458 (diff)
downloadmediapointer-dvb-s2-34efdd4ab0b8842ece57120d0f662bffc9d8bc46.tar.gz
mediapointer-dvb-s2-34efdd4ab0b8842ece57120d0f662bffc9d8bc46.tar.bz2
Reading inversion with FE_GET_FRONTEND had the inversion the wrong way
round
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r--linux/drivers/media/dvb/frontends/stv0299.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c
index 608323c9b..2615042ab 100644
--- a/linux/drivers/media/dvb/frontends/stv0299.c
+++ b/linux/drivers/media/dvb/frontends/stv0299.c
@@ -1152,7 +1152,7 @@ static int uni0299_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg)
p->frequency += derot_freq;
p->inversion = (stv0299_readreg (i2c, 0x0c) & 1) ?
- INVERSION_OFF : INVERSION_ON;
+ INVERSION_ON : INVERSION_OFF;
p->u.qpsk.fec_inner = stv0299_get_fec (i2c);
p->u.qpsk.symbol_rate = stv0299_get_symbolrate (i2c, state->tuner_type);
break;