]> asedeno.scripts.mit.edu Git - linux.git/commit
wm831x_power: Use IRQF_ONESHOT to request threaded IRQs
authorValentin Rothberg <valentinrothberg@gmail.com>
Tue, 22 Sep 2015 17:00:40 +0000 (19:00 +0200)
committerSebastian Reichel <sre@kernel.org>
Sat, 26 Sep 2015 16:55:09 +0000 (18:55 +0200)
commit90adf98d9530054b8e665ba5a928de4307231d84
tree660173aca0af5c3717706bdcf79de823d24a43e2
parent3636859b280ca595da4556274a509223f47e9a39
wm831x_power: Use IRQF_ONESHOT to request threaded IRQs

Since commit 1c6c69525b40 ("genirq: Reject bogus threaded irq requests")
threaded IRQs without a primary handler need to be requested with
IRQF_ONESHOT, otherwise the request will fail.

scripts/coccinelle/misc/irqf_oneshot.cocci detected this issue.

Fixes: b5874f33bbaf ("wm831x_power: Use genirq")
Signed-off-by: Valentin Rothberg <valentinrothberg@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/wm831x_power.c