diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-24 12:58:43 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-24 12:58:43 -0200 |
commit | 4085bc31e472f8d6cabf91d541501f4577ca4e3b (patch) | |
tree | 21a9467e4bfe8590d3aaf6c2a274d0df60ebbb04 /linux/drivers/media/video/cx88 | |
parent | 9ac1186d1b2315e2d06b234777d6af07e9170396 (diff) | |
parent | 79a20149988e1583787adf53c222a141f510dabf (diff) | |
download | mediapointer-dvb-s2-4085bc31e472f8d6cabf91d541501f4577ca4e3b.tar.gz mediapointer-dvb-s2-4085bc31e472f8d6cabf91d541501f4577ca4e3b.tar.bz2 |
merge: http://www.linuxtv.org/hg/~tmerle/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dvb.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dvb.c b/linux/drivers/media/video/cx88/cx88-dvb.c index 898ce5ea8..ed2fc02c8 100644 --- a/linux/drivers/media/video/cx88/cx88-dvb.c +++ b/linux/drivers/media/video/cx88/cx88-dvb.c @@ -605,6 +605,11 @@ static int dvb_register(struct cx8802_dev *dev) struct videobuf_dvb_frontend *fe0, *fe1 = NULL; int mfe_shared = 0; /* bus not shared by default */ + if (0 != core->i2c_rc) { + printk(KERN_ERR "%s/2: no i2c-bus available, cannot attach dvb drivers\n", core->name); + goto frontend_detach; + } + /* Get the first frontend */ fe0 = videobuf_dvb_get_frontend(&dev->frontends, 1); if (!fe0) |