extcon: use IRQF_ONESHOT
Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci Make sure threaded IRQs without a primary handler are always requested with IRQF_ONESHOT. Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cdc1a790b2
commit
aa49312f29
@ -694,7 +694,7 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev)
|
||||
|
||||
ret = request_threaded_irq(virq, NULL,
|
||||
max77693_muic_irq_handler,
|
||||
0, muic_irq->name, info);
|
||||
IRQF_ONESHOT, muic_irq->name, info);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev,
|
||||
"failed: irq request (IRQ: %d,"
|
||||
|
Loading…
Reference in New Issue
Block a user