mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 21:56:45 +07:00
[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) {
|
switch ((buf[1] >> 0) & 0x01) {
|
||||||
case 0:
|
case 0:
|
||||||
c->inversion = INVERSION_OFF;
|
c->inversion = INVERSION_ON;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
c->inversion = INVERSION_ON;
|
c->inversion = INVERSION_OFF;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user