From patchwork Mon Jun 11 15:24:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9193 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 553CF23EB4 for ; Mon, 11 Jun 2012 15:25:24 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id 25BD0A186A7 for ; Mon, 11 Jun 2012 15:25:24 +0000 (UTC) Received: by ggnf1 with SMTP id f1so2843382ggn.11 for ; Mon, 11 Jun 2012 08:25:23 -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=oXifEL70EdAg8iOADKjXBO4mEheGiukkfQu/AQNeywvVVZn+2SSbAF2Qzg0W4Z722u iU0FQMCSbwtwo97P/HPSIeDsg7FVpKw1spc7zu6E5L4pqXZ6gtgDKOxL/vImJwrKrrRU tVZHipwXI9o6SSiBVocZtgsNyTnOH8QSQY3ATf5WfPBH6hRRnzAXs9QJE/BbRNuXK6oq EkN7mVgPDMd7eoGvTVDTqjUG4X6rufvaBZeRKa4qc16BrO2ngDnRakBCWUeKVBwur54y xrMcHfuPD7En1h2kXJcCyyk+/HPI6rrl9iIlxNZftvQn4XF8ouTC/2JzHNhKk4aRB1ch S1nw== Received: by 10.50.57.167 with SMTP id j7mr6502391igq.53.1339428323473; Mon, 11 Jun 2012 08:25:23 -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 v20csp115709ibb; Mon, 11 Jun 2012 08:25:21 -0700 (PDT) Received: by 10.216.218.77 with SMTP id j55mr6235907wep.179.1339428320700; Mon, 11 Jun 2012 08:25:20 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id n17si24385167wee.46.2012.06.11.08.25.20 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:20 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.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 wgbds11 with SMTP id ds11so3345479wgb.31 for ; Mon, 11 Jun 2012 08:25:20 -0700 (PDT) Received: by 10.180.97.66 with SMTP id dy2mr21694396wib.0.1339428320100; Mon, 11 Jun 2012 08:25:20 -0700 (PDT) Received: from localhost.localdomain (cpc1-aztw13-0-0-cust473.18-1.cable.virginmedia.com. [77.102.241.218]) by mx.google.com with ESMTPS id ch9sm39413606wib.8.2012.06.11.08.25.17 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:19 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: linus.walleij@stericsson.com, arnd@arndb.de, grant.likely@secretlab.ca, Lee Jones , Alessandro Zummo , rtc-linux@googlegroups.com Subject: [PATCH 01/14] rtc: ab8500-rtc: IRQF_ONESHOT when requesting a threaded IRQ Date: Mon, 11 Jun 2012 16:24:54 +0100 Message-Id: <1339428307-3850-2-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> References: <1339428307-3850-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlwzXq3bA9SscJ174TX8oLGl3r5qcGnVlCN2YIfobzN2QsHpv5Q8/+0Og1a6DFmg6nMXXOu 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;