[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>
This commit is contained in:
parent
bc760cdae9
commit
b32725e84c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user