提交 5f01e6bc 编写于 作者: S Saurabh Sengar 提交者: Chanwoo Choi

extcon: rt8973: Add IRQF_ONESHOT to interrupt flags

This patch adds IRQF_ONESHOT if no primary handler is provided for request
threaded irq.
Signed-off-by: NSaurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
上级 7a7ef0f2
......@@ -603,7 +603,7 @@ static int rt8973a_muic_i2c_probe(struct i2c_client *i2c,
ret = devm_request_threaded_irq(info->dev, virq, NULL,
rt8973a_muic_irq_handler,
IRQF_NO_SUSPEND,
IRQF_NO_SUSPEND | IRQF_ONESHOT,
muic_irq->name, info);
if (ret) {
dev_err(info->dev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册