/* Frees resources in the DWC_otg controller related to a given endpoint. Also clears state in the HCD related to the endpoint. Any URBs for the endpoint must already be dequeued.  */
static void _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
/* Frees resources in the DWC_otg controller related to a given endpoint. Also clears state in the HCD related to the endpoint. Any URBs for the endpoint must already be dequeued.  */
static void _dwc2_hcd_endpoint_disable(struct usb_hcd *hcd, struct usb_host_endpoint *ep)
{
	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
	dev_dbg(hsotg->dev,
		"DWC OTG HCD EP DISABLE: bEndpointAddress=0x%02x, ep->hcpriv=%p\n",
		ep->desc.bEndpointAddress, ep->hcpriv);
	dwc2_hcd_endpoint_disable(hsotg, ep, 250);
}