> NOTE: I still haven't figured out how to enable/disable the disconnection > detector, it can't be enabled all the time, so I toggle PHY stuff from > this > driver, which I doubt is correct. > Hi Marek, I have already explain how to use high speed disconnect detector in early email. > + > +static irqreturn_t mxs_ehci_irq(struct usb_hcd *hcd) > +{ > + struct ehci_hcd *ehci = hcd_to_ehci(hcd); > + struct usb_phy *phy = usb_get_transceiver(); > + uint32_t status; > + static uint32_t discon; > + > + if (phy && phy->otg && phy->otg->set_vbus) { > + status = ehci_readl(ehci, &ehci->regs->status); > + status = !!(status & STS_PCD); > + if (status != discon) { > + discon = status; > + phy->otg->set_vbus(phy->otg, status); > + } > + } Conflict with your phy interrupt code. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html