Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1228584ybg; Thu, 11 Jun 2020 04:32:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzk5bGBu09O5sp9GUZ9Y30Exx/vkzqVMAihmdTMJGZpkTqnAzDzV/M8U6//egsXMKcNWEqu X-Received: by 2002:a17:906:1d52:: with SMTP id o18mr7339068ejh.399.1591875163411; Thu, 11 Jun 2020 04:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591875163; cv=none; d=google.com; s=arc-20160816; b=NFwEL9jNkE6m/JZWXFxQFfDzaV//+Kc9dyyzUmRQOGIeSjvHhIKnW5J0jFcuwY0hMC yX47my1R0Ke/3QSow4/eRo4xJ2rtIlRhuUlDGm721sFTiXt68aY/2A2pvuohgajKBQ8F trcA9140Qsravgs/KTnOhGTrX56Qjtit2IKeXo0VWM3HtGXlAW54/zw2STUmpKZLYPDH k8LqTx2QgtjHiOoQN1LTR4GIVUeDScwaPbKT+RIZ4khZ4yHM8SFv0HSFgai3OnIBAelX gSTRewyK6fbfqtY3yqEbrvtrOElNE4pLu3NPeOjwpZErOqQ0hSj2ckSi6qqLAK/BqlAa V0kQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=ejramG5Aio0vqgN4VzWVy2xTIcIw9lV/ZyNK1jP8Lh8=; b=xonCLq8Viwj/8Dp6R1teLj9uiDHchffPxO2HgDLLEeyNWjpW/FvXnt4JnFX6WBAkw+ PQT0BX86bFXuwXIKoVX40OZf6+eq0nhFmXlVHMbnCSLRYcbJyGPZs21qKqMGDg1THXb+ bNi3mMbZokh/A+i/TMaxWB5nm2H9qFrsXW6DCJdaefMoSSUj5diGncS6fUtZwoLSxFPw NEAutYQSo803r4t+qltfgheZp4X0K+ANUMBLn2a20xwMWpZnbejYBkf7kwCkFqQgPX/s W9jJfPdKLf7Iy3K8JnBQ3Fygfjs0C7t6JODS1+UF4nd9rvQfjbBDDX+felbro3e3CxBZ g3UQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lr6si1824073ejb.699.2020.06.11.04.32.19; Thu, 11 Jun 2020 04:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727792AbgFKKno (ORCPT + 99 others); Thu, 11 Jun 2020 06:43:44 -0400 Received: from inva021.nxp.com ([92.121.34.21]:48798 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbgFKKnl (ORCPT ); Thu, 11 Jun 2020 06:43:41 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 258262004CB; Thu, 11 Jun 2020 12:43:38 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 9B2C02004B4; Thu, 11 Jun 2020 12:43:33 +0200 (CEST) Received: from titan.ap.freescale.net (titan.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id F40BE402BF; Thu, 11 Jun 2020 18:43:27 +0800 (SGT) From: Hui Song To: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Linus Walleij , Bartosz Golaszewski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, Song Hui Subject: [PATCH] gpio: mpc8xxx: change the gpio interrupt flags. Date: Thu, 11 Jun 2020 18:28:09 +0800 Message-Id: <20200611102809.27829-1-hui.song_1@nxp.com> X-Mailer: git-send-email 2.9.5 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Song Hui Delete the interrupt IRQF_NO_THREAD flags in order to gpio interrupts can be threaded to allow high-priority processes to preempt. Signed-off-by: Song Hui --- drivers/gpio/gpio-mpc8xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-mpc8xxx.c b/drivers/gpio/gpio-mpc8xxx.c index 604dfec..1e86652 100644 --- a/drivers/gpio/gpio-mpc8xxx.c +++ b/drivers/gpio/gpio-mpc8xxx.c @@ -417,7 +417,7 @@ static int mpc8xxx_probe(struct platform_device *pdev) ret = devm_request_irq(&pdev->dev, mpc8xxx_gc->irqn, mpc8xxx_gpio_irq_cascade, - IRQF_NO_THREAD | IRQF_SHARED, "gpio-cascade", + IRQF_SHARED, "gpio-cascade", mpc8xxx_gc); if (ret) { dev_err(&pdev->dev, "%s: failed to devm_request_irq(%d), ret = %d\n", -- 2.9.5