From patchwork Mon Sep 21 15:47:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 53979 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id E8F0922B04 for ; Mon, 21 Sep 2015 15:49:32 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf39896517lbb.2 for ; Mon, 21 Sep 2015 08:49:31 -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=ka6wnILBJi99a0xeUhpwhVJQonGTqv4iYpmyuLFX6AE=; b=kdqaMaw0aQ1TZG1IkJqBFqmOC8rvggITMDkEEPWWExuZFTteuv/IDd7ZO9lP+V9pBk 7wO0Kk3D0hTrFEOiqpMzeFlM4Em592xvtvxs9mudOSayHSfUoaYUjcEYYowqegyAyImO gfDrCAbEOls+fh04Q3x+0Fs60Z5foaTJAhqUbzONaasiHSVCiWu5Pn5NWwnNLHLf056H geqTyXk1SXF6V3vTXsS+DjupSfeCpeoZLQWzwtk8UtMy13f1Y1xITcz6x0QkYh8aiGQi ZG3P7jUW3O/mtRjdHa5cqXirfNEM3365pWAShDQQBh0kNT2W8OqkvjpAL4L9tO7JlMgT 9+ow== X-Gm-Message-State: ALoCoQmIBxLJfebuvOvrTJ0Z1kF+ZosXGrr7nISIfcpD8BZ9um99YRHRQCFROETv+PDEcvHuPlkX X-Received: by 10.194.115.135 with SMTP id jo7mr3401340wjb.7.1442850571675; Mon, 21 Sep 2015 08:49:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.8 with SMTP id i8ls481309lam.59.gmail; Mon, 21 Sep 2015 08:49:31 -0700 (PDT) X-Received: by 10.112.156.193 with SMTP id wg1mr7829599lbb.24.1442850571491; Mon, 21 Sep 2015 08:49:31 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id xf5si14915288lbb.93.2015.09.21.08.49.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 08:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lamp12 with SMTP id p12so69573153lam.0 for ; Mon, 21 Sep 2015 08:49:31 -0700 (PDT) X-Received: by 10.152.5.133 with SMTP id s5mr7842904las.19.1442850571259; Mon, 21 Sep 2015 08:49:31 -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 w3csp1784662lbq; Mon, 21 Sep 2015 08:49:30 -0700 (PDT) X-Received: by 10.68.213.234 with SMTP id nv10mr25713843pbc.145.1442850570185; Mon, 21 Sep 2015 08:49:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uv9si38663638pac.183.2015.09.21.08.49.29; Mon, 21 Sep 2015 08:49:30 -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 S932977AbbIUPtY (ORCPT + 30 others); Mon, 21 Sep 2015 11:49:24 -0400 Received: from foss.arm.com ([217.140.101.70]:54087 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932893AbbIUPsc (ORCPT ); Mon, 21 Sep 2015 11:48:32 -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 9A581581; Mon, 21 Sep 2015 08:48:36 -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 663903F2E5; Mon, 21 Sep 2015 08:48:30 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Thomas Gleixner , "Rafael J. Wysocki" , Mauro Carvalho Chehab , Zhangfei Gao , Patrice Chotard , Fabio Estevam , Guoxiong Yan , linux-media@vger.kernel.org Subject: [PATCH 15/17] ir-hix5hd2: drop the use of IRQF_NO_SUSPEND Date: Mon, 21 Sep 2015 16:47:11 +0100 Message-Id: <1442850433-5903-16-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.49 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: , This driver doesn't claim the IR transmitter to be wakeup source. It even disables the clock and the IR during suspend-resume cycle. This patch removes yet another misuse of IRQF_NO_SUSPEND. Cc: Mauro Carvalho Chehab Cc: Zhangfei Gao Cc: Patrice Chotard Cc: Fabio Estevam Cc: Guoxiong Yan Cc: linux-media@vger.kernel.org Signed-off-by: Sudeep Holla Acked-by: Zhangfei Gao --- drivers/media/rc/ir-hix5hd2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index 1c087cb76815..d0549fba711c 100644 --- a/drivers/media/rc/ir-hix5hd2.c +++ b/drivers/media/rc/ir-hix5hd2.c @@ -257,7 +257,7 @@ static int hix5hd2_ir_probe(struct platform_device *pdev) goto clkerr; if (devm_request_irq(dev, priv->irq, hix5hd2_ir_rx_interrupt, - IRQF_NO_SUSPEND, pdev->name, priv) < 0) { + 0, pdev->name, priv) < 0) { dev_err(dev, "IRQ %d register failed\n", priv->irq); ret = -EINVAL; goto regerr;