]> err.no Git - linux-2.6/commitdiff
V4L/DVB (7880): saa7134: remove explicit GPIO initialization
authorHartmut Hackmann <hartmut.hackmann@t-online.de>
Fri, 9 May 2008 01:57:20 +0000 (22:57 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 14 May 2008 05:56:43 +0000 (02:56 -0300)
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>
drivers/media/video/saa7134/saa7134-core.c

index eec127864fe3e710832a34275c337b51819cf53b..d9ad2f8b42341f9002d8a566852353b61668853e 100644 (file)
@@ -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: