Re: [PATCH] drivers: power: set IRQF_ONESHOT if no primary handler is specified

2015-12-04 Thread Sebastian Reichel
Hi, On Thu, Nov 19, 2015 at 12:42:59PM +0530, Saurabh Sengar wrote: > 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. Thanks, que

[PATCH] drivers: power: set IRQF_ONESHOT if no primary handler is specified

2015-11-18 Thread Saurabh Sengar
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 --- drivers/power/max8903_charger.c | 24 ---