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

Commit 49e553a9 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-charger: enable arb workaround for DC_IN"

parents 0634c945 0498b493
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1200,7 +1200,9 @@ qpnp_chg_usb_chg_gone_irq_handler(int irq, void *_chip)
		pr_err("failed to read usb_chgpth_sts rc=%d\n", rc);

	pr_debug("chg_gone triggered\n");
	if (qpnp_chg_is_usb_chg_plugged_in(chip) && (usb_sts & CHG_GONE_IRQ)) {
	if ((qpnp_chg_is_usb_chg_plugged_in(chip)
			|| qpnp_chg_is_dc_chg_plugged_in(chip))
			&& (usb_sts & CHG_GONE_IRQ)) {
		qpnp_chg_charge_en(chip, 0);
		qpnp_chg_force_run_on_batt(chip, 1);
		schedule_delayed_work(&chip->arb_stop_work,