From patchwork Mon Jun 11 15:24:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 9195 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 15E0223EB4 for ; Mon, 11 Jun 2012 15:25:27 +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 D93A3A186CE for ; Mon, 11 Jun 2012 15:25:26 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id f1so2843382ggn.11 for ; Mon, 11 Jun 2012 08:25:26 -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=XCaCJALYXNzdGpY/CLvZq4nPOOWog/vDlEtBZd/VvdQ=; b=LJ2H6KdIfIv7n79JoYDXZUdMaF7+cEJ73oouWXDCXIKeou5t9QW49GRSygkRBbGnmu rr67SwSd5L9Wc/Phr6G7aFqOl3iSMN4ZcTiJLcS0HRRlLjt5+PwRnRuGLW6IKws7BoFk WXwrhUgxyR/cO2A/8Kp95ZmAXT67Dcwh5VxgvkWj2hLgGpVZ162AOt5LBDi5rtWM5rhy VI9zigkS7bgkERWPH6oGLM+qY6/beB1rqJ9SI8GqK8kERlrDsZIGExnlLPC7+mr94o4b pB7k/DM4TinCS4ElKo0XjBgN9hmrWuvGNJIfGUjGA9O7KZDATVNvpVjGYlJT2aPbd897 obcQ== Received: by 10.50.87.227 with SMTP id bb3mr6473424igb.57.1339428326077; Mon, 11 Jun 2012 08:25:26 -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 v20csp115715ibb; Mon, 11 Jun 2012 08:25:25 -0700 (PDT) Received: by 10.14.101.142 with SMTP id b14mr5748597eeg.71.1339428324727; Mon, 11 Jun 2012 08:25:24 -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 a59si24387284wel.52.2012.06.11.08.25.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:24 -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 ds11so3345557wgb.31 for ; Mon, 11 Jun 2012 08:25:24 -0700 (PDT) Received: by 10.180.82.42 with SMTP id f10mr6490323wiy.22.1339428324061; Mon, 11 Jun 2012 08:25:24 -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.22 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 11 Jun 2012 08:25:23 -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 , Samuel Ortiz Subject: [PATCH 03/14] mfd: ab8500-gpadc: Enable IRQF_ONESHOT when requesting a threaded IRQ Date: Mon, 11 Jun 2012 16:24:56 +0100 Message-Id: <1339428307-3850-4-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: ALoCoQmKd8agxQHHxk4ZOKDUejfJc5tZS2ebfyJItrWj3h+0yKdQQZDCRQNkW86QVyDihWixVOWs The kernel now forces IRQs to be ONESHOT if no IRQ handler is passed. Cc: Samuel Ortiz Signed-off-by: Lee Jones --- drivers/mfd/ab8500-gpadc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index b86fd8e..b6cbc3ba 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c @@ -599,7 +599,8 @@ static int __devinit ab8500_gpadc_probe(struct platform_device *pdev) /* Register interrupt - SwAdcComplete */ ret = request_threaded_irq(gpadc->irq, NULL, ab8500_bm_gpswadcconvend_handler, - IRQF_NO_SUSPEND | IRQF_SHARED, "ab8500-gpadc", gpadc); + IRQF_ONESHOT | IRQF_NO_SUSPEND | IRQF_SHARED, + "ab8500-gpadc", gpadc); if (ret < 0) { dev_err(gpadc->dev, "Failed to register interrupt, irq: %d\n", gpadc->irq);