aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-04-06 06:09:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-09 13:57:14 -0400
commit852f0d9d6ffdeac28045aa9724c8e2a9ac4ffe6a (patch)
tree949931e80fd4bb7fbc6a8058ef14333c75993163 /drivers/media/dvb
parentb55b4b7a109f218fc25b9451934ff4d9100e691c (diff)
[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: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/dvb-usb/af9035.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9035.c b/drivers/media/dvb/dvb-usb/af9035.c
index 9f962428368c..e1d6e6efa77b 100644
--- a/drivers/media/dvb/dvb-usb/af9035.c
+++ b/drivers/media/dvb/dvb-usb/af9035.c
@@ -783,6 +783,9 @@ static int af9035_frontend_attach(struct dvb_usb_adapter *adap)
783 ret = -ENODEV; 783 ret = -ENODEV;
784 goto err; 784 goto err;
785 } 785 }
786
787 /* disable I2C-gate */
788 adap->fe_adap[0].fe->ops.i2c_gate_ctrl = NULL;
786 adap->fe_adap[0].fe->callback = af9035_frontend_callback; 789 adap->fe_adap[0].fe->callback = af9035_frontend_callback;
787 790
788 return 0; 791 return 0;