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

Commit bdef63d1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: dwc3: gadget: Block GSI DB update after END transfer on all EPs"

parents 85c3d47d 70c0c032
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -3042,11 +3042,9 @@ static void dwc3_stop_active_transfers(struct dwc3 *dwc)
		if (!(dep->flags & DWC3_EP_ENABLED))
			continue;

		if (dep->endpoint.ep_type == EP_TYPE_GSI && dep->direction)
			dwc3_notify_event(dwc,
					DWC3_CONTROLLER_NOTIFY_CLEAR_DB, 0);
		dwc3_remove_requests(dwc, dep);
	}
	dwc3_notify_event(dwc, DWC3_CONTROLLER_NOTIFY_CLEAR_DB, 0);
	dbg_log_string("DONE");
}