Merge "power: qpnp-charger: enable arb workaround for DC_IN"
diff --git a/drivers/power/qpnp-charger.c b/drivers/power/qpnp-charger.c
index ee74b1b..e009a8d 100644
--- a/drivers/power/qpnp-charger.c
+++ b/drivers/power/qpnp-charger.c
@@ -1197,7 +1197,9 @@
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,