summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2014-07-07 09:52:28 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-14 21:03:23 -0300
commitb32725e84c02b4d01472770b96d1b33737b23b6d (patch)
tree227a0ac4285d34fa80f3bafbec762017d9d30fef /drivers/media
parentbc760cdae9b67e689ed29c66c9c2d78d6f5f8c4b (diff)
[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/media')
-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 49874e76548b..d590798a6367 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;
}