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

Commit 5391d25f authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "disp: msm: dp: do not skip disconnect when host is unready"

parents 7978e0d9 76051760
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1363,7 +1363,8 @@ static int dp_display_usbpd_disconnect_cb(struct device *dev)
			dp->debug->psm_enabled);

	/* skip if a disconnect is already in progress */
	if (dp_display_state_is(DP_STATE_ABORTED)) {
	if (dp_display_state_is(DP_STATE_ABORTED) &&
	    dp_display_state_is(DP_STATE_READY)) {
		DP_DEBUG("disconnect already in progress\n");
		SDE_EVT32_EXTERNAL(SDE_EVTLOG_FUNC_CASE1, dp->state);
		return 0;