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

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

Merge "usb: dwc3: gadget: Properly handle ClearFeature(halt)"

parents 0fe659e0 24823f15
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1873,6 +1873,9 @@ int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol)

		dep->flags &= ~(DWC3_EP_STALL | DWC3_EP_WEDGE);

		if (dep->gsi || dep->endless)
			return 0;

		dwc3_stop_active_transfer(dep, true, true);

		list_for_each_entry_safe(req, tmp, &dep->started_list, list)