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

Commit 4a40e126 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: Increase number of SRC_CAP attempts before starting host"

parents dd7b46d3 7fa1e1c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1571,7 +1571,7 @@ static void usbpd_sm(struct work_struct *w)
		if (ret) {
			pd->caps_count++;

			if (pd->caps_count == 5 && pd->current_dr == DR_DFP) {
			if (pd->caps_count == 10 && pd->current_dr == DR_DFP) {
				/* Likely not PD-capable, start host now */
				start_usb_host(pd, true);
			} else if (pd->caps_count >= PD_CAPS_COUNT) {