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

Commit 322cebe0 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: Fix bug in handling cable connect event during bootup"

parents 95b6c25e f6842fc3
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -3410,11 +3410,17 @@ static void msm_otg_set_vbus_state(int online)

	if (!init) {
		init = true;
		if (pmic_vbus_init.done &&
				test_bit(B_SESS_VLD, &motg->inputs)) {
			pr_debug("PMIC: BSV came late\n");
			goto out;
		}
		complete(&pmic_vbus_init);
		pr_debug("PMIC: BSV init complete\n");
		return;
	}

out:
	if (test_bit(MHL, &motg->inputs) ||
			mhl_det_in_progress) {
		pr_debug("PMIC: BSV interrupt ignored in MHL\n");