Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b32725e8 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

[media] tda10071: fix spec inversion reporting



Inversion ON was reported as inversion OFF and vice versa.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent bc760cda
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}