From ccd0888c802ad79f5a46bee63f3bf84e52b1eac4 Mon Sep 17 00:00:00 2001 From: Holger Waechtler Date: Wed, 23 Apr 2003 20:07:52 +0000 Subject: enable msp3400 volume control for vendor id 0x13c2, too. Reported by Andreas Kool --- linux/drivers/media/dvb/ttpci/av7110.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 9bd6febd2..66d232d67 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -1363,7 +1363,7 @@ SendDAC(av7110_t *av7110, u8 addr, u8 data) static int SetVolume(av7110_t *av7110, int volleft, int volright) { - int err, vol, val, chleft, chright, balance = 0; + int err, vol, val, balance = 0; DEB_EE(("av7110: %p\n",av7110)); @@ -4294,7 +4294,8 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p /** * some special handling for the Siemens DVB-C card... */ - if (dev->pci->subsystem_vendor == 0x110a) { + if ((dev->pci->subsystem_vendor == 0x110a) || + (dev->pci->subsystem_vendor == 0x13c2)) { if (i2c_writereg(av7110, 0x80, 0x0, 0x80)==1) { i2c_writereg(av7110, 0x80, 0x0, 0); printk ("av7110: DVB-C analog module detected, " -- cgit v1.2.3