From patchwork Mon Sep 21 15:46:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 53984 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 26C3322B04 for ; Mon, 21 Sep 2015 15:53:19 +0000 (UTC) Received: by lbcao8 with SMTP id ao8sf39815945lbc.1 for ; Mon, 21 Sep 2015 08:53:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=8TCXUvsV1//2CL35Yc6LHUrNNAUF1N2ZKMYKDJ0vaHs=; b=GuC89a1GZJbBas2rPtcRC7vt7HxpjOqQcdGQvft2nCVEdxks+sy6MuhqvJpy5SdCFy Vc0405935LfsYs7DAjkolgE8aEUgNJUAyHT1rr3oHYvfU9as/aOdlhHt6bHvMOb3T/iY 9QH+K3cvEoxZwZmbnWfIx2ZIUvPguWuMvGaxhKgScZsziJZ/7CtbYWtApMtZ8RK3DbwM xLgbKkvye6DGOzqAxSUYFGVGBpAxOi5uQHzK94c2mquCi6pCAbEOQei+LXYkhNwPnLXp pAFbhvcAzqrLzhUxBOoXhWmHjEGaVLzdAx90YSfjekVFRaD6gXRdylmQfwDebSFvyouo PsmA== X-Gm-Message-State: ALoCoQkcwZuAxDnpHZBN27F8fOoYDYfot8qeu/6QBIOF1za9EiyFYNQgJ8oPP+TdvnazvpaUJB6/ X-Received: by 10.152.37.161 with SMTP id z1mr1836338laj.8.1442850798082; Mon, 21 Sep 2015 08:53:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.162 with SMTP id c2ls527179laa.60.gmail; Mon, 21 Sep 2015 08:53:17 -0700 (PDT) X-Received: by 10.152.19.228 with SMTP id i4mr7638389lae.47.1442850797921; Mon, 21 Sep 2015 08:53:17 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id pd10si16431290lbc.109.2015.09.21.08.53.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 08:53:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lahg1 with SMTP id g1so71233674lah.1 for ; Mon, 21 Sep 2015 08:53:17 -0700 (PDT) X-Received: by 10.152.37.135 with SMTP id y7mr7966506laj.106.1442850797726; Mon, 21 Sep 2015 08:53:17 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1786394lbq; Mon, 21 Sep 2015 08:53:16 -0700 (PDT) X-Received: by 10.60.45.104 with SMTP id l8mr12705428oem.61.1442850796601; Mon, 21 Sep 2015 08:53:16 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si12434806obs.99.2015.09.21.08.53.16; Mon, 21 Sep 2015 08:53:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933085AbbIUPxM (ORCPT + 30 others); Mon, 21 Sep 2015 11:53:12 -0400 Received: from foss.arm.com ([217.140.101.70]:53991 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932482AbbIUPsI (ORCPT ); Mon, 21 Sep 2015 11:48:08 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5DF45535; Mon, 21 Sep 2015 08:48:12 -0700 (PDT) Received: from e103737-lin.cambridge.arm.com (e103737-lin.cambridge.arm.com [10.1.207.150]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4EA693F2E5; Mon, 21 Sep 2015 08:48:06 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Thomas Gleixner , "Rafael J. Wysocki" , Laxman Dewangan , Stephen Warren , Thierry Reding , linux-input@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 03/17] input: tegra-kbc: drop use of IRQF_NO_SUSPEND flag Date: Mon, 21 Sep 2015 16:46:59 +0100 Message-Id: <1442850433-5903-4-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442850433-5903-1-git-send-email-sudeep.holla@arm.com> References: <1442850433-5903-1-git-send-email-sudeep.holla@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sudeep.holla@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The driver handles wakeup irq correctly using device_init_wakeup and enable_irq_wake. There's no need to use IRQF_NO_SUSPEND while registering the interrupt. This patch removes the use of IRQF_NO_SUSPEND flag. Cc: Laxman Dewangan Cc: Stephen Warren Cc: Thierry Reding Cc: linux-input@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Sudeep Holla Acked-by: Thierry Reding Acked-by: Laxman Dewangan --- drivers/input/keyboard/tegra-kbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index f97c73bd14f8..5f5dbbd51991 100644 --- a/drivers/input/keyboard/tegra-kbc.c +++ b/drivers/input/keyboard/tegra-kbc.c @@ -705,7 +705,7 @@ static int tegra_kbc_probe(struct platform_device *pdev) input_set_drvdata(kbc->idev, kbc); err = devm_request_irq(&pdev->dev, kbc->irq, tegra_kbc_isr, - IRQF_NO_SUSPEND | IRQF_TRIGGER_HIGH, pdev->name, kbc); + IRQF_TRIGGER_HIGH, pdev->name, kbc); if (err) { dev_err(&pdev->dev, "failed to request keyboard IRQ\n"); return err;