Skip to content

Commit

Permalink
extcon: use IRQF_ONESHOT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fengguang Wu authored and Greg Kroah-Hartman committed Sep 6, 2012
1 parent cdc1a79 commit aa49312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/extcon/extcon-max77693.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,"
Expand Down

0 comments on commit aa49312

Please sign in to comment.