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)
commitd5fdfedc0ed946e96b2ac06d48b230e370105d7e
treeb73966236eb06c5724fda50629ad18d36784f214
parentc4c0edfbf875a5ecb38a4aa65e2bdb87739e81d6
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