From patchwork Wed May 30 04:47:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9035 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EAFE423E58 for ; Wed, 30 May 2012 04:48:52 +0000 (UTC) Received: from mail-gh0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by fiordland.canonical.com (Postfix) with ESMTP id B1E8CA18073 for ; Wed, 30 May 2012 04:48:52 +0000 (UTC) Received: by mail-gh0-f178.google.com with SMTP id f1so2923337ghb.37 for ; Tue, 29 May 2012 21:48:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=vWZBsDp8HfbB/0ZS1ME4FC3+GP8AiqayqA9yPTNIxAw=; b=Ud4klK1cMnrj6waH9RzwcReH3j+LOKhj//8QXsyY7p1+K8+G6Hh0YumQSpqKYlgYhu 0U1BfOpz4/ljw4bhUs92cvRX8rsjEJ7PPRZ/oALHsm3MPyMiRVpcK128mzCvxhID2Jci 6OJ2A8gUHDGtjzCeSkgIl3kjs3E9SKmJlacgshcTMEj4w+CC7tBPnGg4FsdX2qbkxcTS KzyKUfTMFZS6876ufoH6fiZwk5dG9mwzAwrK1YHU5hnlm8OOXbcwxcmwLxv1A0qVFyRV 65qOipg84dHpBCZ1E2TK4G4bBIw7jfTH1S22kcSCt2p2qgw5z5cmo1Mc5UFoluQIkqAQ KXfw== Received: by 10.50.46.232 with SMTP id y8mr9342579igm.57.1338353331989; Tue, 29 May 2012 21:48:51 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.24.148 with SMTP id v20csp170276ibb; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: by 10.68.232.201 with SMTP id tq9mr13187123pbc.70.1338353331259; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id hv8si23584463pbc.93.2012.05.29.21.48.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 May 2012 21:48:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-pz0-f50.google.com with SMTP id h15so7270491dan.37 for ; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: by 10.68.135.201 with SMTP id pu9mr22705972pbb.146.1338353330907; Tue, 29 May 2012 21:48:50 -0700 (PDT) Received: from localhost.localdomain ([118.143.64.134]) by mx.google.com with ESMTPS id kd6sm25122557pbc.24.2012.05.29.21.48.47 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 29 May 2012 21:48:50 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, arnd@arndb.de, linus.walleij@stericsson.com, grant.likely@secretlab.ca, cjb@laptop.org, broonie@opensource.wolfsonmicro.com, sameo@linux.intel.com Cc: Lee Jones , Alessandro Zummo , rtc-linux@googlegroups.com Subject: [PATCH 17/22] rtc: ab8500-rtc: IRQF_ONESHOT when requesting a threaded IRQ Date: Wed, 30 May 2012 12:47:35 +0800 Message-Id: <1338353260-10097-18-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1338353260-10097-1-git-send-email-lee.jones@linaro.org> References: <1338353260-10097-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQmdQhYwoRnqIYen1sWJJkYP9SAxrQN+S9rG7u43CNYYYrGo/2+aHQeO85UeJWx3l/8gi4VI The kernel now forces IRQs to be ONESHOT if no IRQ handler is passed. Cc: Alessandro Zummo Cc: rtc-linux@googlegroups.com Signed-off-by: Lee Jones --- drivers/rtc/rtc-ab8500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-ab8500.c b/drivers/rtc/rtc-ab8500.c index 4bcf9ca..b11a2ec 100644 --- a/drivers/rtc/rtc-ab8500.c +++ b/drivers/rtc/rtc-ab8500.c @@ -422,7 +422,7 @@ static int __devinit ab8500_rtc_probe(struct platform_device *pdev) } err = request_threaded_irq(irq, NULL, rtc_alarm_handler, - IRQF_NO_SUSPEND, "ab8500-rtc", rtc); + IRQF_NO_SUSPEND | IRQF_ONESHOT, "ab8500-rtc", rtc); if (err < 0) { rtc_device_unregister(rtc); return err;