summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-10-05 21:21:10 +0000
committerMichael Hunold <devnull@localhost>2003-10-05 21:21:10 +0000
commitf71164d23976a41779d58f6721f761992d21831b (patch)
treecb436c05ed4fa7e92b99b1e3a03659e7a94ef578
parent4066b2941b583a814fe52ddf6bd8431a670c8b31 (diff)
downloadmediapointer-dvb-s2-f71164d23976a41779d58f6721f761992d21831b.tar.gz
mediapointer-dvb-s2-f71164d23976a41779d58f6721f761992d21831b.tar.bz2
Use "dev->has_analog_tuner" to decide when special dvb-c handling is
required, instead of parsing the subsystem id all the time. The dvb-c detection has to be fixed nevertheless...
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index 0aa54fc38..b4f985e8d 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -4527,7 +4527,7 @@ static int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_
/* special case DVB-C: these cards have an analog tuner
plus need some special handling, so we have separate
saa7146_ext_vv data for these... */
- if (dev->pci->subsystem_vendor == 0x110a) {
+ if (0 != dev->has_analog_tuner) {
ret = saa7146_vv_init(dev, &av7110_vv_data_c);
} else {
ret = saa7146_vv_init(dev, &av7110_vv_data_st);