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

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

Merge "usb: pd: Use break instead of return after soft reset is done"

parents 186489b1 3aadff47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2691,7 +2691,7 @@ static void usbpd_sm(struct work_struct *w)
		if (ret) {
			if (pd->pd_connected) {
				usbpd_set_state(pd, PE_SEND_SOFT_RESET);
				return;
				break;
			}
			pd->caps_count++;
			if (pd->caps_count >= PD_CAPS_COUNT) {