]> git.baikalelectronics.ru Git - kernel.git/commit
power: max8903_charger: set IRQF_ONESHOT if no primary handler is specified
authorSaurabh Sengar <saurabh.truth@gmail.com>
Thu, 19 Nov 2015 07:12:59 +0000 (12:42 +0530)
committerSebastian Reichel <sre@kernel.org>
Sat, 5 Dec 2015 01:06:50 +0000 (02:06 +0100)
commit1cc1517d678910a532b3f007183348536cb9e420
treeb73966236eb06c5724fda50629ad18d36784f214
parenta42ab214c9ec6b7738e5b02f80085a9802f2e2ab
power: max8903_charger: set IRQF_ONESHOT if no primary handler is specified

If no primary handler is specified for threaded_irq then a
default one is assigned which always returns IRQ_WAKE_THREAD.
This handler requires the IRQF_ONESHOT, because the source of
interrupt is not disabled.

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/max8903_charger.c