From patchwork Fri May 6 11:02:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 761902 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p46B2kGb003312 for ; Fri, 6 May 2011 11:02:50 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754773Ab1EFLCt (ORCPT ); Fri, 6 May 2011 07:02:49 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:51343 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754488Ab1EFLCt (ORCPT ); Fri, 6 May 2011 07:02:49 -0400 Received: from axis700.grange (pD9EB8F3A.dip0.t-ipconnect.de [217.235.143.58]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0Lv6YQ-1PZaNr20jC-010JJM; Fri, 06 May 2011 13:02:37 +0200 Received: by axis700.grange (Postfix, from userid 1000) id 2D911189B89; Fri, 6 May 2011 13:02:37 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by axis700.grange (Postfix) with ESMTP id 28ECD189B88; Fri, 6 May 2011 13:02:37 +0200 (CEST) Date: Fri, 6 May 2011 13:02:37 +0200 (CEST) From: Guennadi Liakhovetski X-X-Sender: lyakh@axis700.grange To: linux-sh@vger.kernel.org cc: cjb@laptop.org, Magnus Damm , Paul Mundt , horms@verge.net.au, linux-mmc@vger.kernel.org Subject: [PATCH 2/4] mmc: sdhi: no need for special interrupt flags In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:QipDZC+aH1fztmrQzF7baJzbO/1QBJRsXZRwdmL6t6J 5TOmxRLwiHMKvLWCugomduV6X3SPd/LsUdmRzUWGWCk80/JV8W nXF5IBpaX9YF5UTP9Xoh/JBwBwvDyo9EyCKnNvS6KuG+8K78iX ste4MgMxUP6/P7VKcv4WOqKPlu6WyVcBlKSJ0xB93P1sxKFqVj pGt9gMunS7KQYLIG40GBwVDhuUhVxNE/pLR9oHa+C0= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 06 May 2011 11:02:50 +0000 (UTC) From: Magnus Damm Modify the SDHI driver to get rid of unwanted irq flags. IRQF_DISABLED unused, see include/linux/interrupt.h IRQF_TRIGGER_FALLING only relevant on external IRQ pins, but since SDHI is internal in the SoC this can go away. Needed to support SDHI on sh73a0 that comes with a GIC that errors out with the IRQF_TRIGGER_FALLING setting. Signed-off-by: Magnus Damm Signed-off-by: Guennadi Liakhovetski --- drivers/mmc/host/sh_mobile_sdhi.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index 9ee51ac..c489547 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c @@ -122,8 +122,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev) goto eirq; } - ret = request_irq(irq, tmio_mmc_irq, IRQF_DISABLED | - IRQF_TRIGGER_FALLING, dev_name(&pdev->dev), host); + ret = request_irq(irq, tmio_mmc_irq, 0, dev_name(&pdev->dev), host); if (ret) goto eirq;