From patchwork Fri Dec 14 16:19:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 13598 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 6878123FB4 for ; Fri, 14 Dec 2012 16:20:08 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1EAE4A195F5 for ; Fri, 14 Dec 2012 16:20:08 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id c10so6157952ieb.11 for ; Fri, 14 Dec 2012 08:20:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received: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=I/CjuME55SdAxGKeiQQSOh1Dg5tc5jwbqzRUlV7F72Q=; b=nIN51K2u+a/SHkvIaoQtmzj7yfrIcy7R2j/1I7R7qK2R9Sm6F0n4lIb+zycOcjY4nc UX2CTacgdKmIs5xdPjQjuyEFBwCquVw1kHY6i5anyOF02Yv13Og+FbfjxRIWGuFXRStk JWdUokExfj2A1d1ENwneXxC+0SGz0vRYk6IEnHAPfWYt5ZLQLuSyvkQTb/5TdJERSFqE dZ6ICBnHENT8QnmhOFvlbwpBoAV3hc0GBj0niJ57WVPaJzsiVPSX7gyWrnrxEc1R+vpK YU80W/eqcbHqcAreY4KA6kxLZY8F8knx+31o2uVU1wgj40w2+ZB2rEFU7DzinI5le4qm w2Aw== X-Received: by 10.50.161.169 with SMTP id xt9mr2005752igb.62.1355502007597; Fri, 14 Dec 2012 08:20:07 -0800 (PST) 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.50.67.148 with SMTP id n20csp81599igt; Fri, 14 Dec 2012 08:20:07 -0800 (PST) Received: by 10.180.102.6 with SMTP id fk6mr3604872wib.9.1355502006416; Fri, 14 Dec 2012 08:20:06 -0800 (PST) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id cc16si7967802wib.39.2012.12.14.08.20.05 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Dec 2012 08:20:06 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 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-wi0-f172.google.com with SMTP id o1so576433wic.17 for ; Fri, 14 Dec 2012 08:20:05 -0800 (PST) Received: by 10.194.119.33 with SMTP id kr1mr4626111wjb.4.1355502005841; Fri, 14 Dec 2012 08:20:05 -0800 (PST) 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 u6sm8325248wif.2.2012.12.14.08.20.04 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 14 Dec 2012 08:20:05 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org, Paer-Olof Haakansson , Lee Jones Subject: [PATCH 12/21] gpio: ab8500: Allow gpios to wake the system from suspend Date: Fri, 14 Dec 2012 16:19:30 +0000 Message-Id: <1355501979-1157-13-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355501979-1157-1-git-send-email-lee.jones@linaro.org> References: <1355501979-1157-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQlh5SV4uwegaRdpcAC3VBjHHJui6q78aCvjkLG3V7TNwB8Goap4/YKjCYZA3Gv/XerEnyfe From: Paer-Olof Haakansson Signed-off-by: Lee Jones Signed-off-by: Paer-Olof Haakansson Reviewed-by: Jonas ABERG --- drivers/gpio/gpio-ab8500.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-ab8500.c b/drivers/gpio/gpio-ab8500.c index 8616368..ef75984 100644 --- a/drivers/gpio/gpio-ab8500.c +++ b/drivers/gpio/gpio-ab8500.c @@ -329,12 +329,12 @@ static void ab8500_gpio_irq_sync_unlock(struct irq_data *data) if (rising) ret = request_threaded_irq(irq_to_rising(irq), NULL, handle_rising, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_RISING | IRQF_NO_SUSPEND, "ab8500-gpio-r", ab8500_gpio); if (falling) ret = request_threaded_irq(irq_to_falling(irq), NULL, handle_falling, - IRQF_TRIGGER_FALLING, + IRQF_TRIGGER_FALLING | IRQF_NO_SUSPEND, "ab8500-gpio-f", ab8500_gpio); break; case SHUTDOWN: