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>
此提交包含在:
Vasyl Gomonovych
2019-07-19 18:28:06 +02:00
提交者 Chanwoo Choi
父節點 8bc4810b43
當前提交 005ad18727

查看文件

@@ -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,