From 34efdd4ab0b8842ece57120d0f662bffc9d8bc46 Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Sat, 13 Mar 2004 18:14:21 +0000 Subject: Reading inversion with FE_GET_FRONTEND had the inversion the wrong way round --- linux/drivers/media/dvb/frontends/stv0299.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/frontends/stv0299.c') 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; -- cgit v1.2.3