From patchwork Mon Sep 21 15:47:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 53982 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by patches.linaro.org (Postfix) with ESMTPS id D863D22B04 for ; Mon, 21 Sep 2015 15:51:17 +0000 (UTC) Received: by lagj9 with SMTP id j9sf45133364lag.0 for ; Mon, 21 Sep 2015 08:51:16 -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=JrmP0lt4SQ3Kv1iYQLP9rY+MlsBBpWDikRq6nBD4XkQ=; b=mRVLLH+diKzRDb3Mpy0aeI0r8+eB/jOB4KgWO6BZW3i4G7oIYoehdlEKsheUQ0/EBD voulPWpqnv+F1eQP6X2ad2A0ROiqUopc9m+l4+GoL7qIh6YIukdkWX01btEngjLRulTd rLSBz1OYeQbnFTAGMETIX9za7NR+mA/ljLQFYnKBlrA+UpCYhWVwzpiSME+Y8Xc6M7+w ORkWZo6looB2G0YMYRbH9zTnOAtVUYup2wBk1M3TPzP08/5oLO9M651OmC72w0IZbk8w Aq/2fXzu80Akyj+gE+fBeAkDTrMRsDNBJSBZI6vpfHtZXbQuJYZwl/k79eYlHJmTPARm 9yrA== X-Gm-Message-State: ALoCoQmDPQ4en5ibQVrXfv13iVq6T+tmYCtGnJHThBVu1pa3u4ljgOZZm0W/PUMwL7KbAWcIEuDz X-Received: by 10.25.22.94 with SMTP id m91mr70846lfi.3.1442850676668; Mon, 21 Sep 2015 08:51:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.45.39 with SMTP id j7ls445714lam.77.gmail; Mon, 21 Sep 2015 08:51:16 -0700 (PDT) X-Received: by 10.112.77.197 with SMTP id u5mr6376705lbw.120.1442850676499; Mon, 21 Sep 2015 08:51:16 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id j6si16428595lbs.87.2015.09.21.08.51.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 08:51:16 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbpo4 with SMTP id o4so53551379lbp.2 for ; Mon, 21 Sep 2015 08:51:16 -0700 (PDT) X-Received: by 10.112.129.202 with SMTP id ny10mr7728075lbb.112.1442850676358; Mon, 21 Sep 2015 08:51:16 -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 w3csp1785491lbq; Mon, 21 Sep 2015 08:51:15 -0700 (PDT) X-Received: by 10.50.79.229 with SMTP id m5mr10750395igx.1.1442850675043; Mon, 21 Sep 2015 08:51:15 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si17509525iog.210.2015.09.21.08.51.14; Mon, 21 Sep 2015 08:51:14 -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 S933037AbbIUPvM (ORCPT + 30 others); Mon, 21 Sep 2015 11:51:12 -0400 Received: from foss.arm.com ([217.140.101.70]:54033 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932743AbbIUPsT (ORCPT ); Mon, 21 Sep 2015 11:48:19 -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 32B2855D; Mon, 21 Sep 2015 08:48:23 -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 696CD3F2E5; Mon, 21 Sep 2015 08:48:15 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Thomas Gleixner , "Rafael J. Wysocki" , Jean Delvare , Guenter Roeck , lm-sensors@lm-sensors.org Subject: [PATCH 08/17] hwmon: abx500: drop the use of IRQF_NO_SUSPEND Date: Mon, 21 Sep 2015 16:47:04 +0100 Message-Id: <1442850433-5903-9-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.217.177 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 description in the driver states: "ABX500 does not provide auto ADC, so to monitor the required temperatures, a periodic work is used. It is more important to not wake up the CPU... If the chip gets too hot during a sleep state it's most likely due to external factors, such as the surrounding temperature and nothing can be done in S/W." So it makes no sense to keep IRQs enabled as it need not be wakeup source. This patch removes the use of IRQF_NO_SUSPEND flag Cc: Jean Delvare Cc: Guenter Roeck Cc: lm-sensors@lm-sensors.org Signed-off-by: Sudeep Holla --- drivers/hwmon/abx500.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index 6cb89c0ebab6..dcab258f60c1 100644 --- a/drivers/hwmon/abx500.c +++ b/drivers/hwmon/abx500.c @@ -377,7 +377,7 @@ static int setup_irqs(struct platform_device *pdev) } ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, - abx500_temp_irq_handler, IRQF_NO_SUSPEND, "abx500-temp", pdev); + abx500_temp_irq_handler, 0, "abx500-temp", pdev); if (ret < 0) dev_err(&pdev->dev, "Request threaded irq failed (%d)\n", ret);