summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2008-05-08 22:57:20 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-05-14 02:56:43 -0300
commitc1d6861b5178c184d78ae5f239cbaa9c2c63dd72 (patch)
tree17529d36c8dad0673a18fc02c6a3fb704cb34801
parent671294719628f1671faefd4882764886f8ad08cb (diff)
downloadlinux-stable-c1d6861b5178c184d78ae5f239cbaa9c2c63dd72.tar.gz
linux-stable-c1d6861b5178c184d78ae5f239cbaa9c2c63dd72.tar.bz2
linux-stable-c1d6861b5178c184d78ae5f239cbaa9c2c63dd72.zip
V4L/DVB (7880): saa7134: remove explicit GPIO initialization
This causes a problem with the audio mute on some cards and is done implictly in the audio initialization code. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/saa7134/saa7134-core.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c
index eec127864fe3..d9ad2f8b4234 100644
--- a/drivers/media/video/saa7134/saa7134-core.c
+++ b/drivers/media/video/saa7134/saa7134-core.c
@@ -1065,11 +1065,6 @@ static int __devinit saa7134_initdev(struct pci_dev *pci_dev,
if (TUNER_ABSENT != dev->tuner_type)
saa7134_i2c_call_clients(dev, TUNER_SET_STANDBY, NULL);
- if (card(dev).gpiomask != 0) {
- mask = card(dev).gpiomask;
- saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, mask, mask);
- saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, mask, 0);
- }
return 0;
fail4: