From patchwork Mon Jun 11 15:05:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 164209 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wi0-f184.google.com (mail-wi0-f184.google.com [209.85.212.184]) (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 C7BDB10080C for ; Tue, 12 Jun 2012 01:06:10 +1000 (EST) Received: by wibhm6 with SMTP id hm6sf2053309wib.11 for ; Mon, 11 Jun 2012 08:06:06 -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: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=mPC/iMeHLDp+XpELGHWGD+MLI5Q4ir35zKcfZmecUc0pnTNDxFhYB+UYP0SMypI/1X jLtdLCQJdM4tVXl3e3yaY90LhgZPjE6+jbkLF0TI4fi1nU/xd5giyiDBcTKSQv/+Ndx0 sKGODkAqyQnRrkAu/PHbZz3T+OrC2s2vMHqG0= 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: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=T5pz7fS8v3E4+vVcIbJ8d/wDRCROU4GkYdV6jvwurVpxn6O6r6v+ivSW7fwgdq6kEc Q8zU6YRiNqrHgaU1iyA5BECFW1rHai7vkOqUPn6xR4LbfGWfwDq9qSKa6iQfbWfGyTSx cvv7fnpRRe6GVQyP6OYXJT0kHWUfotyszw7xObNIlLFieLPirsPU4IAa23iZ3XgBnCES fzuPWF3fKzT3kNPFj8iRzW8WyzWHvjM68STFyWz9JxqWRQSy4tKFZPMOMsDCryxCuOJO ppf8w9a9OUpD1MBIa1MoEZYO6jfW7OiNCaNSvOhrTvGq1oktSzNAxzYGgUYpenNNtZTJ ef5Q== Received: by 10.216.200.146 with SMTP id z18mr441530wen.52.1339427162164; Mon, 11 Jun 2012 08:06:02 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.216.214.136 with SMTP id c8ls3399404wep.8.gmail; Mon, 11 Jun 2012 08:06:00 -0700 (PDT) Received: by 10.180.101.67 with SMTP id fe3mr471580wib.2.1339427160049; Mon, 11 Jun 2012 08:06:00 -0700 (PDT) Received: by 10.180.101.67 with SMTP id fe3mr471578wib.2.1339427160034; Mon, 11 Jun 2012 08:06:00 -0700 (PDT) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by gmr-mx.google.com with ESMTPS id o7si4246179wix.1.2012.06.11.08.06.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:06:00 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.178; Received: by mail-wi0-f178.google.com with SMTP id hn6so3046095wib.1 for ; Mon, 11 Jun 2012 08:06:00 -0700 (PDT) Received: by 10.180.8.69 with SMTP id p5mr21576925wia.17.1339427159741; Mon, 11 Jun 2012 08:05:59 -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 bn9sm24370909wib.5.2012.06.11.08.05.58 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:05:58 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: Alessandro Zummo , rtc-linux@googlegroups.com Subject: [rtc-linux] [PATCH 01/14] rtc: ab8500-rtc: IRQF_ONESHOT when requesting a threaded IRQ Date: Mon, 11 Jun 2012 16:05:32 +0100 Message-Id: <1339427146-3221-1-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQkpAUcZT1OM2+Z15axPL9dzviPuGRzUeEkRrH4G4YJl5iKGGwoVnKY+B5ULYQuUmMWsHOGm X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.212.178 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;