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

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

Merge "usb: phy-msm-usb: Clear is_ext_chg_dcp flag on disconnect"

parents 3b795995 937d1726
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3039,6 +3039,7 @@ static void msm_otg_set_vbus_state(int online)
		pr_debug("PMIC: BSV clear\n");
		msm_otg_dbg_log_event(&motg->phy, "PMIC: BSV CLEAR",
				init, motg->inputs);
		motg->is_ext_chg_dcp = false;
		if (!test_and_clear_bit(B_SESS_VLD, &motg->inputs) && init)
			return;
	}