From f71164d23976a41779d58f6721f761992d21831b Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Sun, 5 Oct 2003 21:21:10 +0000 Subject: 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... --- linux/drivers/media/dvb/ttpci/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers') 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); -- cgit v1.2.3