Skip to content
Commit d5fdfedc authored by Saurabh Sengar's avatar Saurabh Sengar Committed by Sebastian Reichel
Browse files

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: default avatarSaurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c4c0edfb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment