summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-i2c.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-09-29 12:34:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-29 12:34:29 -0300
commit1de263ac921ae95a5ef9594515cace643d30535f (patch)
treef6e7110966fe08f61626326d6ede39d6fd4b0568 /linux/drivers/media/video/cx88/cx88-i2c.c
parented09f5a6d29bd6e33fb9cfc374afe3d605e9f180 (diff)
parentbfbd3992d437c1f8f45dffa075261dd0fe93e983 (diff)
downloadmediapointer-dvb-s2-1de263ac921ae95a5ef9594515cace643d30535f.tar.gz
mediapointer-dvb-s2-1de263ac921ae95a5ef9594515cace643d30535f.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/cx88
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-i2c.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-i2c.c b/linux/drivers/media/video/cx88/cx88-i2c.c
index 8a64f795a..672747a5f 100644
--- a/linux/drivers/media/video/cx88/cx88-i2c.c
+++ b/linux/drivers/media/video/cx88/cx88-i2c.c
@@ -155,7 +155,7 @@ void cx88_call_i2c_clients(struct cx88_core *core, unsigned int cmd, void *arg)
return;
#ifdef HAVE_VIDEO_BUF_DVB
- if (core->dvbdev) {
+ 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);