Skip to content

Commit

Permalink
[media] tda10071: fix spec inversion reporting
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Jul 15, 2014
1 parent bc760cd commit b32725e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb-frontends/tda10071.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b32725e

Please sign in to comment.