From patchwork Mon Sep 21 15:47:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 53973 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 7913922B04 for ; Mon, 21 Sep 2015 15:48:38 +0000 (UTC) Received: by lbbmp1 with SMTP id mp1sf39887527lbb.2 for ; Mon, 21 Sep 2015 08:48:37 -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=E5Dbg1qqncpUr9vOCRdXgSWcwQPq6CqvLzIT+O1xT2A=; b=WKqhObxs/0RS4v4wWHllm3xuZVcqMVMemtjnGDRuFyVJ74LWkE7tW7bOXRnqMPuIhS h6DWrDEKdqO11xUBeGyJXTUatAymKo8ARDC4aRv3p7PVfvc1A6zX+QOqHZPv2Z2jW4fw S32IzF9WVy2pVoBj/a50SHPBNuqhgYriOP1zXEjCVT2+ex4JlFyaFwCpDoRREmfr2QJL weUgqMQMgrZGP59HvxYF9OfKgxqESc/sVHTmGM3jH/y5Ip7iWn4MlCFF/4O0EkuPIXV/ OEtmbB+DtcMhECF0jMmATIhMdm9UZesNo9S+oczMMJmCrlW2Yqq6m9czkpi7SlggOTqR TIbg== X-Gm-Message-State: ALoCoQm+ZnBNR/UkLf5ex/VmZERuZfrz6+YgWeRw80zaqpPH5d+7SrNHcxh1noacSXV/47baXzJi X-Received: by 10.112.145.3 with SMTP id sq3mr3410185lbb.7.1442850517260; Mon, 21 Sep 2015 08:48:37 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.180.75 with SMTP id dm11ls452723lac.102.gmail; Mon, 21 Sep 2015 08:48:37 -0700 (PDT) X-Received: by 10.152.21.229 with SMTP id y5mr7855996lae.44.1442850517095; Mon, 21 Sep 2015 08:48:37 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id e4si16553610lab.35.2015.09.21.08.48.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Sep 2015 08:48:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by lamp12 with SMTP id p12so69554734lam.0 for ; Mon, 21 Sep 2015 08:48:36 -0700 (PDT) X-Received: by 10.152.161.232 with SMTP id xv8mr8075718lab.32.1442850516774; Mon, 21 Sep 2015 08:48:36 -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 w3csp1784260lbq; Mon, 21 Sep 2015 08:48:35 -0700 (PDT) X-Received: by 10.68.249.66 with SMTP id ys2mr26123936pbc.82.1442850508625; Mon, 21 Sep 2015 08:48:28 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id dd6si38668670pad.84.2015.09.21.08.48.28; Mon, 21 Sep 2015 08:48:28 -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 S932827AbbIUPsW (ORCPT + 30 others); Mon, 21 Sep 2015 11:48:22 -0400 Received: from foss.arm.com ([217.140.101.70]:54038 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932702AbbIUPsU (ORCPT ); Mon, 21 Sep 2015 11:48:20 -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 B74B1564; Mon, 21 Sep 2015 08:48:24 -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 2411D3F2E5; Mon, 21 Sep 2015 08:48:18 -0700 (PDT) From: Sudeep Holla To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sudeep Holla , Thomas Gleixner , "Rafael J. Wysocki" , Greg Kroah-Hartman , Jiri Slaby Subject: [PATCH 09/17] MIPS: ttyFDC: replace IRQF_NO_SUSPEND with IRQF_COND_SUSPEND Date: Mon, 21 Sep 2015 16:47:05 +0100 Message-Id: <1442850433-5903-10-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.51 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: , Since the FD interrupt handler can discern spurious IRQs and it is shared with timer interrupt, use IRQF_COND_SUSPEND instead of IRQF_NO_SUSPEND. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Signed-off-by: Sudeep Holla --- drivers/tty/mips_ejtag_fdc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/mips_ejtag_fdc.c b/drivers/tty/mips_ejtag_fdc.c index a8c8cfd52a23..5a6d0b5cd18b 100644 --- a/drivers/tty/mips_ejtag_fdc.c +++ b/drivers/tty/mips_ejtag_fdc.c @@ -977,7 +977,7 @@ static int mips_ejtag_fdc_tty_probe(struct mips_cdmm_device *dev) /* Try requesting the IRQ */ if (priv->irq >= 0) { /* - * IRQF_SHARED, IRQF_NO_SUSPEND: The FDC IRQ may be shared with + * IRQF_SHARED, IRQF_COND_SUSPEND: The FDC IRQ may be shared with * other local interrupts such as the timer which sets * IRQF_TIMER (including IRQF_NO_SUSPEND). * @@ -987,7 +987,7 @@ static int mips_ejtag_fdc_tty_probe(struct mips_cdmm_device *dev) */ ret = devm_request_irq(priv->dev, priv->irq, mips_ejtag_fdc_isr, IRQF_PERCPU | IRQF_SHARED | - IRQF_NO_THREAD | IRQF_NO_SUSPEND, + IRQF_NO_THREAD | IRQF_COND_SUSPEND, priv->fdc_name, priv); if (ret) priv->irq = -1;