diff options
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 1dd270b43..15cb4bcf9 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -4838,9 +4838,10 @@ static int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_ if (0 != av7110->has_analog_tuner) { if( 0 != saa7146_register_device(&av7110->vbi_dev, dev, "av7110", VFL_TYPE_VBI)) { ERR(("cannot register vbi v4l2 device. skipping.\n")); + } else { + /* we use this to remember that this dvb-c card can do vbi */ + av7110->has_analog_tuner = 2; } - /* we use this to remember that this dvb-c card cannot do vbi */ - av7110->has_analog_tuner = 2; } printk(KERN_INFO "av7110: found av7110-%d.\n",av7110_num); |