summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorVasyl Gomonovych <gomonovych@gmail.com>2019-07-19 18:28:06 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2019-07-24 19:32:19 +0900
commit005ad18727b489eb9fd6182f8941042e274387dc (patch)
tree36f0b837d1c6b679e3e009434fe06ce5c35a97ea /drivers/extcon
parent8bc4810b435a3338346efd70e94c4d6fd0863635 (diff)
downloadlwn-005ad18727b489eb9fd6182f8941042e274387dc.tar.gz
lwn-005ad18727b489eb9fd6182f8941042e274387dc.zip
extcon: sm5502: Add IRQ_ONESHOT
Do not fire irq again until thread done Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-sm5502.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-sm5502.c b/drivers/extcon/extcon-sm5502.c
index 98e4f616b8f1..dc43847ad2b0 100644
--- a/drivers/extcon/extcon-sm5502.c
+++ b/drivers/extcon/extcon-sm5502.c
@@ -597,7 +597,7 @@ static int sm5022_muic_i2c_probe(struct i2c_client *i2c,
ret = devm_request_threaded_irq(info->dev, virq, NULL,
sm5502_muic_irq_handler,
- IRQF_NO_SUSPEND,
+ IRQF_NO_SUSPEND | IRQF_ONESHOT,
muic_irq->name, info);
if (ret) {
dev_err(info->dev,