From patchwork Fri Aug 27 23:47:15 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igor M. Liplianin" X-Patchwork-Id: 5380 Return-path: Envelope-to: mchehab@gaivota Delivery-date: Fri, 31 Dec 2010 08:15:28 -0200 Received: from mchehab by gaivota with local (Exim 4.72) (envelope-from ) id 1PYc19-0002Qh-Rs for mchehab@gaivota; Fri, 31 Dec 2010 08:15:28 -0200 Received: from casper.infradead.org [85.118.1.10] by gaivota with IMAP (fetchmail-6.3.17) for (single-drop); Fri, 31 Dec 2010 08:15:27 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PYXby-00017K-M7; Fri, 31 Dec 2010 05:33:11 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147Ab0LaFcO (ORCPT + 1 other); Fri, 31 Dec 2010 00:32:14 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:52748 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751235Ab0LaFcK (ORCPT ); Fri, 31 Dec 2010 00:32:10 -0500 Received: by mail-ey0-f174.google.com with SMTP id 27so5151180eye.19 for ; Thu, 30 Dec 2010 21:32:09 -0800 (PST) Received: by 10.213.14.148 with SMTP id g20mr12829338eba.43.1293773529736; Thu, 30 Dec 2010 21:32:09 -0800 (PST) Received: from useri.localnet ([93.125.74.3]) by mx.google.com with ESMTPS id t5sm11994271eeh.8.2010.12.30.21.32.08 (version=SSLv3 cipher=RC4-MD5); Thu, 30 Dec 2010 21:32:09 -0800 (PST) Message-ID: <4d1d6ad9.857a0e0a.45e5.ffffd91c@mx.google.com> From: "Igor M. Liplianin" Date: Sat, 28 Aug 2010 02:47:15 +0300 Subject: [PATCH 10/18] cx23885: remove duplicate set interrupt mask To: , linux-media@vger.kernel.org, , Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Mauro Carvalho Chehab Signed-off-by: Igor M. Liplianin --- drivers/media/video/cx23885/cx23885-core.c | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 307eaf4..3a09dd2 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c @@ -904,12 +904,6 @@ static int cx23885_dev_setup(struct cx23885_dev *dev) dev->pci_bus = dev->pci->bus->number; dev->pci_slot = PCI_SLOT(dev->pci->devfn); cx23885_irq_add(dev, 0x001f00); - if (cx23885_boards[dev->board].ci_type == 1) - cx23885_irq_add(dev, 0x01800000); /* for CiMaxes */ - - if (cx23885_boards[dev->board].ci_type == 2) - cx23885_irq_add(dev, 0x00800000); /* for FPGA */ - /* External Master 1 Bus */ dev->i2c_bus[0].nr = 0; @@ -2074,10 +2068,10 @@ static int __devinit cx23885_initdev(struct pci_dev *pci_dev, switch (dev->board) { case CX23885_BOARD_NETUP_DUAL_DVBS2_CI: - cx23885_irq_add_enable(dev, 0x01800000); /* for NetUP */ + cx23885_irq_add_enable(dev, PCI_MSK_GPIO1 | PCI_MSK_GPIO0); break; case CX23885_BOARD_NETUP_DUAL_DVB_T_C_CI_RF: - cx23885_irq_add_enable(dev, 0x00800000); + cx23885_irq_add_enable(dev, PCI_MSK_GPIO0); break; }