]> git.karo-electronics.de Git - karo-tx-linux.git/commit
can: mcp251x: add missing IRQF_ONESHOT to request_threaded_irq
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 11 Apr 2013 08:08:27 +0000 (10:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 19:51:09 +0000 (12:51 -0700)
commitb15bae9faecfb714cbf0c4585cd46b32d0a40e5a
treebeb4146aceea194d54c54f0d39dc41adf5abbb87
parentd7e0ec47be2ac4c26c4a2ed44e9541d790e7bb94
can: mcp251x: add missing IRQF_ONESHOT to request_threaded_irq

commit db388d6460ffa53b3b38429da6f70a913f89b048 upstream.

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
IRQF_ONESHOT flag.

Reported-by: Mylene Josserand <Mylene.Josserand@navocap.com>
Tested-by: Mylene Josserand <Mylene.Josserand@navocap.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/can/mcp251x.c