summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-04-06 07:09:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-09 14:57:14 -0300
commit852f0d9d6ffdeac28045aa9724c8e2a9ac4ffe6a (patch)
tree949931e80fd4bb7fbc6a8058ef14333c75993163 /drivers/media/dvb
parentb55b4b7a109f218fc25b9451934ff4d9100e691c (diff)
downloadlinux-852f0d9d6ffdeac28045aa9724c8e2a9ac4ffe6a.tar.gz
linux-852f0d9d6ffdeac28045aa9724c8e2a9ac4ffe6a.tar.bz2
linux-852f0d9d6ffdeac28045aa9724c8e2a9ac4ffe6a.zip
[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)
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;