/* Halts the DWC_otg host mode operations in a clean manner. USB transfers are stopped.  */
static void _dwc2_hcd_stop(struct usb_hcd *hcd)
/* Halts the DWC_otg host mode operations in a clean manner. USB transfers are stopped.  */
static void _dwc2_hcd_stop(struct usb_hcd *hcd)
{
	struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd);
	unsigned long flags;
	spin_lock_irqsave(&hsotg->lock, flags);
	dwc2_hcd_stop(hsotg);
	spin_unlock_irqrestore(&hsotg->lock, flags);
	usleep_range(1000, 3000);
}