[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190725063644.5982-1-gomonovych@gmail.com>
Date: Thu, 25 Jul 2019 08:36:44 +0200
From: Vasyl Gomonovych <gomonovych@...il.com>
To: cw00.choi@...sung.com, krzk@...nel.org, b.zolnierkie@...sung.com,
myungjoo.ham@...sung.com
Cc: Vasyl Gomonovych <gomonovych@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] extcon: max77693: Add extra IRQF_ONESHOT
Do not fire irq again until thread done
This issue was found by code inspection
Coccicheck irqf_oneshot.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@...il.com>
---
drivers/extcon/extcon-max77693.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c
index 32fc5a66ffa9..68e42cd87e98 100644
--- a/drivers/extcon/extcon-max77693.c
+++ b/drivers/extcon/extcon-max77693.c
@@ -1142,7 +1142,7 @@ static int max77693_muic_probe(struct platform_device *pdev)
ret = devm_request_threaded_irq(&pdev->dev, virq, NULL,
max77693_muic_irq_handler,
- IRQF_NO_SUSPEND,
+ IRQF_NO_SUSPEND | IRQF_ONESHOT,
muic_irq->name, info);
if (ret) {
dev_err(&pdev->dev,
--
2.17.1
Powered by blists - more mailing lists