1
0
Fork 0

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: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
hifive-unleashed-5.1
Saurabh Sengar 2015-11-25 23:31:11 +05:30 committed by Chanwoo Choi
parent 7a7ef0f2a4
commit 5f01e6bc33
1 changed files with 1 additions and 1 deletions

View File

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