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: 161840 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-pz0-f56.google.com (mail-pz0-f56.google.com [209.85.210.56]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3FD5EB7001 for ; Wed, 30 May 2012 14:48:53 +1000 (EST) Received: by dano9 with SMTP id o9sf4818533dan.11 for ; Tue, 29 May 2012 21:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-google-group-id:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe:content-type; bh=15Kr4kNT6Oc6373y6sdNq6+lW+K1FFtsOelgu+14E+0=; b=2K+eKNrVlz9clpvCnIFZSB9WVyLnyZF0LxxtaqUYaotCnaxivpgOAPR0+mMdxW+CAN o6LlDO1MZJRiIyXK7pcsjz3lIkMs9YzHgIHY4eOPJ2Y9kCjRtEy4L3oQTpeOAopmt6WB 6JRkTIrdunZRiSmgzxg00/Zngbev/zpRwGxr0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-gm-message-state :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-google-group-id:list-post :list-help:list-archive:sender:list-subscribe:list-unsubscribe :content-type; bh=15Kr4kNT6Oc6373y6sdNq6+lW+K1FFtsOelgu+14E+0=; b=oOuN96dz8VU8uPYi5HQ3hSJMWVI4DBY4Fp9iTf8WPVprzZMjBEj12kdG3D1lgHRTce RXeSkPPlZJyxoatrZ9r7Cs+tmb4Bedc9Kuz53te/krO1ktJVRFEKa2IQ6ZGdonVsyEkR HdleRMssbgnUDZpzqW5La+r92k5IIDgpGO598zyE7ar6T774LQTRxN2EoLcY9ZOXuer1 pP8cIKwc0AbNTYfxZut+D3Mwk5E+m72wOIcs+4B/TptoTSLWu6ETLK+Wxhqdu1zzoI7N rDFZE9I+DgcIIWIcOyc8yHAbbu92P9kBtQbG4F2Lms6l2GyV/4hbx6fLXQLVY+MkxYbv wUgw== Received: by 10.68.125.168 with SMTP id mr8mr487449pbb.1.1338353331612; Tue, 29 May 2012 21:48:51 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.68.240.165 with SMTP id wb5ls15288232pbc.1.gmail; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: by 10.68.196.232 with SMTP id ip8mr4103830pbc.6.1338353331128; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: by 10.68.196.232 with SMTP id ip8mr4103828pbc.6.1338353331118; Tue, 29 May 2012 21:48:51 -0700 (PDT) Received: from mail-pz0-f42.google.com (mail-pz0-f42.google.com [209.85.210.42]) by gmr-mx.google.com with ESMTPS id gi6si8196059pbc.0.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.42 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.210.42; Received: by dalf4 with SMTP id f4so5313671dal.15 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: [rtc-linux] [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: ALoCoQk1pdRUvlwKMgJdIhYbj3dPybSm6/UNjNyRAe8Rw0QK4dddA02/+CG1OT4CIyyAn15yQ75x X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.210.42 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , 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;