summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-i2c.c')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-i2c.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-i2c.c b/linux/drivers/media/video/cx23885/cx23885-i2c.c
index 4959e303d..82e9739e5 100644
--- a/linux/drivers/media/video/cx23885/cx23885-i2c.c
+++ b/linux/drivers/media/video/cx23885/cx23885-i2c.c
@@ -273,25 +273,10 @@ static int detach_inform(struct i2c_client *client)
void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
unsigned int cmd, void *arg)
{
-// struct cx23885_dev *dev = bus->dev;
-
if (bus->i2c_rc != 0)
return;
-#if 0
-#ifdef HAVE_VIDEO_BUF_DVB
- if ( (core->dvbdev) && (core->dvbdev->dvb.frontend) ) {
- if (core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl)
- core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl(core->dvbdev->dvb.frontend, 1);
-
- i2c_clients_command(&core->i2c_adap, cmd, arg);
-
- if (core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl)
- core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl(core->dvbdev->dvb.frontend, 0);
- } else
-#endif
-#endif
- i2c_clients_command(&bus->i2c_adap, cmd, arg);
+ i2c_clients_command(&bus->i2c_adap, cmd, arg);
}
static int cx23885_algo_control(struct i2c_adapter *adap,