summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-04-23 20:07:52 +0000
committerHolger Waechtler <devnull@localhost>2003-04-23 20:07:52 +0000
commitccd0888c802ad79f5a46bee63f3bf84e52b1eac4 (patch)
tree0a76a66ae2cd3823df86aac006b939d21732d3dc
parent92be13865e5eb89bb701ca3fb43157592411d9f6 (diff)
downloadmediapointer-dvb-s2-ccd0888c802ad79f5a46bee63f3bf84e52b1eac4.tar.gz
mediapointer-dvb-s2-ccd0888c802ad79f5a46bee63f3bf84e52b1eac4.tar.bz2
enable msp3400 volume control for vendor id 0x13c2, too. Reported by Andreas Kool <akool@akool.de>
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c5
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 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, "