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

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

Merge "usb: pd: Update dual_role_usb in case of legacy cable"

parents 7a4c16e7 9b0dcd53
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -575,8 +575,10 @@ static void start_usb_peripheral_work(struct work_struct *w)
	struct usbpd *pd = container_of(w, struct usbpd, start_periph_work);

	pd->current_state = PE_SNK_STARTUP;
	pd->current_pr = PR_SINK;
	pd->current_dr = DR_UFP;
	start_usb_peripheral(pd);
	dual_role_instance_changed(pd->dual_role);
}

/**