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)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 12 Apr 2013 09:56:12 +0000 (11:56 +0200)
commitdb388d6460ffa53b3b38429da6f70a913f89b048
treea14a6f93e8402d5ca3bf98412e72d82bfaaab20b
parent50bceae9bd3569d56744882f3012734d48a1d413
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
IRQF_ONESHOT flag.

Cc: linux-stable <stable@vger.kernel.org> # >= v3.5
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>
drivers/net/can/mcp251x.c