Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c577c0d authored by Fengguang Wu's avatar Fengguang Wu Committed by Anton Vorontsov
Browse files

lp8727_charger: Use IRQF_ONESHOT



Generated by: scripts/coccinelle/misc/irqf_oneshot.cocci

ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT

Make sure threaded IRQs without a primary handler are always request
with IRQF_ONESHOT

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Acked-by: default avatarMilo(Woogyom) Kim <milo.kim@ti.com>
Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
parent f1ade352
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -255,7 +255,7 @@ static int lp8727_intr_config(struct lp8727_chg *pchg)
	return request_threaded_irq(pchg->client->irq,
	return request_threaded_irq(pchg->client->irq,
				NULL,
				NULL,
				lp8727_isr_func,
				lp8727_isr_func,
				IRQF_TRIGGER_FALLING,
				IRQF_TRIGGER_FALLING | IRQF_ONESHOT,
				"lp8727_irq",
				"lp8727_irq",
				pchg);
				pchg);
}
}