Input: request threaded-only IRQs with IRQF_ONESHOT
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 4 Jul 2012 20:02:56 +0000 (13:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jul 2012 20:12:19 +0000 (13:12 -0700)
Since commit 1c6c69525b ("genirq: Reject bogus threaded irq requests")
threaded IRQs without a primary handler need to be requested with
IRQF_ONESHOT, otherwise the request will fail. This patch adds the
IRQF_ONESHOT to input drivers where it is missing. Not modified by
this patch are those drivers where the requested IRQ will always be a
nested IRQ (e.g. because it's part of an MFD), since for this special
case IRQF_ONESHOT is not required to be specified when requesting the
IRQ.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

No differences found