From patchwork Fri Jul 8 22:52:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 957632 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p68Mr6AW025448 for ; Fri, 8 Jul 2011 22:53:06 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752370Ab1GHWxF (ORCPT ); Fri, 8 Jul 2011 18:53:05 -0400 Received: from na3sys009aog105.obsmtp.com ([74.125.149.75]:35356 "EHLO na3sys009aog105.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752340Ab1GHWxE (ORCPT ); Fri, 8 Jul 2011 18:53:04 -0400 Received: from mail-bw0-f42.google.com ([209.85.214.42]) (using TLSv1) by na3sys009aob105.postini.com ([74.125.148.12]) with SMTP ID DSNKTheKTxqmozghNiMKFyMdVNd6F5Jccx5W@postini.com; Fri, 08 Jul 2011 15:53:03 PDT Received: by mail-bw0-f42.google.com with SMTP id 19so4721387bwa.1 for ; Fri, 08 Jul 2011 15:53:03 -0700 (PDT) Received: by 10.204.26.132 with SMTP id e4mr1684250bkc.142.1310165582822; Fri, 08 Jul 2011 15:53:02 -0700 (PDT) Received: from localhost (cs181221225.pp.htv.fi [82.181.221.225]) by mx.google.com with ESMTPS id f24sm382874bka.32.2011.07.08.15.53.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 15:53:01 -0700 (PDT) From: Felipe Balbi To: Tony Lindgren Cc: Linux OMAP Mailing List , Felipe Balbi Subject: [PATCH 06/11] cbus: retu: set IRQF_ONESHOT flag Date: Sat, 9 Jul 2011 01:52:34 +0300 Message-Id: <1310165559-31037-7-git-send-email-balbi@ti.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1310165559-31037-1-git-send-email-balbi@ti.com> References: <1310165559-31037-1-git-send-email-balbi@ti.com> Organization: Texas Instruments\n Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@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, 08 Jul 2011 22:53:06 +0000 (UTC) for LEVEL handlers which don't have top half, it's necessary to always set IRQF_ONESHOT Signed-off-by: Felipe Balbi --- drivers/cbus/retu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cbus/retu.c b/drivers/cbus/retu.c index b58c6e5..b7fbd18 100644 --- a/drivers/cbus/retu.c +++ b/drivers/cbus/retu.c @@ -469,8 +469,8 @@ static int __init retu_probe(struct platform_device *pdev) /* Mask all RETU interrupts */ __retu_write_reg(retu, RETU_REG_IMR, 0xffff); - ret = request_threaded_irq(retu->irq, NULL, retu_irq_handler, 0, - "retu", retu); + ret = request_threaded_irq(retu->irq, NULL, retu_irq_handler, + IRQF_ONESHOT, "retu", retu); if (ret < 0) { dev_err(&pdev->dev, "Unable to register IRQ handler\n"); goto err2;