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

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

Merge "usb: pd: Ensure disconnect is processed when hard reset in progress"

parents 3345fc18 8d4687a9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2101,7 +2101,8 @@ static void usbpd_sm(struct work_struct *w)

	/* Disconnect? */
	if (pd->current_pr == PR_NONE) {
		if (pd->current_state == PE_UNKNOWN)
		if (pd->current_state == PE_UNKNOWN &&
				pd->current_dr == DR_NONE)
			goto sm_done;

		if (pd->vconn_enabled) {