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: 441861 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBV5XFsN015645 for ; Fri, 31 Dec 2010 05:33:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752147Ab0LaFcO (ORCPT ); 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, , Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 31 Dec 2010 05:33:15 +0000 (UTC) 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; }