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

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

[media] af9035: disable frontend0 I2C-gate control



Seems like tuners used for frontend0 are not behind demodulator
I2C-gate thus gate control is not needed. Disable it for sure as
it can cause problems some situations.

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b55b4b7a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -783,6 +783,9 @@ static int af9035_frontend_attach(struct dvb_usb_adapter *adap)
		ret = -ENODEV;
		goto err;
	}

	/* disable I2C-gate */
	adap->fe_adap[0].fe->ops.i2c_gate_ctrl = NULL;
	adap->fe_adap[0].fe->callback = af9035_frontend_callback;

	return 0;