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

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

Merge "USB: msm_otg: Turn-off VDP_SRC on DCP disconnect"

parents 3ddd1f49 1985fa56
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2670,8 +2670,11 @@ static void msm_otg_sm_work(struct work_struct *w)
			motg->chg_state = USB_CHG_STATE_UNDEFINED;
			motg->chg_type = USB_INVALID_CHARGER;
			msm_otg_notify_charger(motg, 0);
			if (dcp)
			if (dcp) {
				msm_otg_wait_for_ext_chg_done(motg);
				/* Turn off VDP_SRC */
				ulpi_write(otg->phy, 0x2, 0x86);
			}
			msm_otg_reset(otg->phy);
			/*
			 * There is a small window where ID interrupt