From: Hartmut Hackmann Date: Fri, 9 May 2008 01:57:20 +0000 (-0300) Subject: V4L/DVB (7880): saa7134: remove explicit GPIO initialization X-Git-Tag: v2.6.26-rc3~62^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c1d6861b5178c184d78ae5f239cbaa9c2c63dd72;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/saa7134/saa7134-core.c b/drivers/media/video/saa7134/saa7134-core.c index eec127864fe..d9ad2f8b423 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: