/* This interrupt indicates that a device has been disconnected from the root port  */
static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg)
/* This interrupt indicates that a device has been disconnected from the root port  */
static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg)
{
	dev_dbg(hsotg->dev, "++Disconnect Detected Interrupt++ (%s) %s\n",
		dwc2_is_host_mode(hsotg) ? "Host" : "Device",
		dwc2_op_state_str(hsotg));
	hsotg->lx_state = DWC2_L3;
	writel(GINTSTS_DISCONNINT, hsotg->regs + GINTSTS);
}