diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-i2c.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-i2c.c b/drivers/media/video/cx88/cx88-i2c.c index 6e705a2afdf8..88af23a93870 100644 --- a/drivers/media/video/cx88/cx88-i2c.c +++ b/drivers/media/video/cx88/cx88-i2c.c | |||
@@ -145,7 +145,7 @@ void cx88_call_i2c_clients(struct cx88_core *core, unsigned int cmd, void *arg) | |||
145 | if (0 != core->i2c_rc) | 145 | if (0 != core->i2c_rc) |
146 | return; | 146 | return; |
147 | 147 | ||
148 | if (core->dvbdev) { | 148 | if ( (core->dvbdev) && (core->dvbdev->dvb.frontend) ) { |
149 | if (core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl) | 149 | if (core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl) |
150 | core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl(core->dvbdev->dvb.frontend, 1); | 150 | core->dvbdev->dvb.frontend->ops.i2c_gate_ctrl(core->dvbdev->dvb.frontend, 1); |
151 | 151 | ||