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

Commit 2cd0964f authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

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

parents bead6b39 a9e197c3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2145,7 +2145,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) {