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

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

Merge "phy: msm: usb: Fix USB suspend issue on cable disconnect"

parents 46bba8e0 7fe34d13
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2837,11 +2837,11 @@ static void msm_otg_sm_work(struct work_struct *w)
			msm_otg_start_peripheral(otg, 0);
			msm_otg_dbg_log_event(phy, "RT PM: B_PERI A PUT",
				get_pm_runtime_counter(dev), 0);
			/* Schedule work to finish cable disconnect processing*/
			otg->state = OTG_STATE_B_IDLE;
			/* _put for _get done on cable connect in B_IDLE */
			pm_runtime_mark_last_busy(dev);
			pm_runtime_put_autosuspend(dev);
			/* Schedule work to finish cable disconnect processing*/
			otg->state = OTG_STATE_B_IDLE;
			work = 1;
		} else if (test_bit(A_BUS_SUSPEND, &motg->inputs)) {
			pr_debug("a_bus_suspend\n");