summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-07-07 12:52:28 (GMT)
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-15 00:03:23 (GMT)
commitb32725e84c02b4d01472770b96d1b33737b23b6d (patch)
tree227a0ac4285d34fa80f3bafbec762017d9d30fef /drivers
parentbc760cdae9b67e689ed29c66c9c2d78d6f5f8c4b (diff)
downloadlinux-b32725e84c02b4d01472770b96d1b33737b23b6d.tar.xz
[media] tda10071: fix spec inversion reporting
Inversion ON was reported as inversion OFF and vice versa. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb-frontends/tda10071.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb-frontends/tda10071.c b/drivers/media/dvb-frontends/tda10071.c
index 49874e7..d590798 100644
--- a/drivers/media/dvb-frontends/tda10071.c
+++ b/drivers/media/dvb-frontends/tda10071.c
@@ -838,10 +838,10 @@ static int tda10071_get_frontend(struct dvb_frontend *fe)
switch ((buf[1] >> 0) & 0x01) {
case 0:
- c->inversion = INVERSION_OFF;
+ c->inversion = INVERSION_ON;
break;
case 1:
- c->inversion = INVERSION_ON;
+ c->inversion = INVERSION_OFF;
break;
}