diff options
author | Holger Waechtler <devnull@localhost> | 2003-04-28 11:03:11 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-04-28 11:03:11 +0000 |
commit | 820dcd3e5e73926f1f6b93c4937fcc57ca5c66a6 (patch) | |
tree | ff57ca9cffef0cbf5af8feddc74e8699ac0da482 /linux/drivers/media/dvb/ttpci | |
parent | b9fdcfaceaa7d50a32ddba773131f7b55272e2e9 (diff) | |
download | mediapointer-dvb-s2-820dcd3e5e73926f1f6b93c4937fcc57ca5c66a6.tar.gz mediapointer-dvb-s2-820dcd3e5e73926f1f6b93c4937fcc57ca5c66a6.tar.bz2 |
apply patch proposed by Oliver Endriss <o.endriss@gmx.de> to solve the audio
problems in conjunction with the MSP3400 volume control for non-DVB-C cards
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index c4b5e2b9c..c14d1a5f3 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -4290,13 +4290,11 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p i2c_writereg(av7110, 0x20, 0x02, 0x49); i2c_writereg(av7110, 0x20, 0x03, 0x00); i2c_writereg(av7110, 0x20, 0x04, 0x00); - } - - + /** * some special handling for the Siemens DVB-C card... */ - if ((dev->pci->subsystem_vendor == 0x110a) || + } else 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); @@ -4321,7 +4319,9 @@ int av7110_attach (struct saa7146_dev* dev, struct saa7146_pci_extension_data *p //saa7146_setgpio(dev, 1, SAA7146_GPIO_OUTHI); // RGB on, SCART pin 16 //saa7146_setgpio(dev, 3, SAA7146_GPIO_OUTLO); // SCARTpin 8 } - + + SetVolume(av7110, 0xff, 0xff); + av7110_setup_irc_config (av7110, 0); av7110_register(av7110); |