can: mcp251x: add missing IRQF_ONESHOT to request_threaded_irq

Since commit:

    1c6c695 genirq: Reject bogus threaded irq requests

threaded irqs must provide a primary handler or set the IRQF_ONESHOT flag.
Since the mcp251x driver doesn't make use of a primary handler set the

Cc: linux-stable <> # >= v3.5
Reported-by: Mylene Josserand <>
Tested-by: Mylene Josserand <>
Signed-off-by: Marc Kleine-Budde <>
1 file changed