diff options
author | Michael Hunold <devnull@localhost> | 2004-01-02 18:15:45 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-01-02 18:15:45 +0000 |
commit | b9b520c47bd314288215493d1268ef77f09cbd4c (patch) | |
tree | 2ca484764c3f8dd43c6e6ad1768a26ba5a9c43fe /linux/drivers/media | |
parent | ed78776c3757018e2ca073bf5d6f92c664efbfff (diff) | |
download | mediapointer-dvb-s2-b9b520c47bd314288215493d1268ef77f09cbd4c.tar.gz mediapointer-dvb-s2-b9b520c47bd314288215493d1268ef77f09cbd4c.tar.bz2 |
- fix release of vbi device with DVB-C cards
Diffstat (limited to 'linux/drivers/media')
-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); |