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

Commit 24abc7d6 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

power: qpnp-linear-charger: fix interrupt request failure



USBIN irq is a threaded interrupt, add IRQF_ONESHOT flag
while requesting interrupt.

Change-Id: I3e37e18d117fe9de336c2a89652a2adcb0e9d9d6
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent cebe1742
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2877,7 +2877,8 @@ static int qpnp_lbc_request_irqs(struct qpnp_lbc_chip *chip)
			IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 1);

	REQUEST_IRQ(chip, USBIN_VALID, rc, usbin_valid, 1,
			IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, 1);
			IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING
			| IRQF_ONESHOT, 1);

	REQUEST_IRQ(chip, USB_CHG_GONE, rc, chg_gone, 0,
			IRQF_TRIGGER_RISING, 1);