* bits are still set. When an event occurs, switch over to
* polling to avoid losing status changes.
*/
+ xhci_dbg(xhci, "%s: starting port polling.\n", __func__);
+ set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
+ spin_unlock(&xhci->lock);
#ifdef CONFIG_AMLOGIC_USB
if (!(temp & PORT_CONNECT) || !(temp & PORT_PE))
set_usb_phy_host_tuning(faked_port_index, 1);
#endif
- xhci_dbg(xhci, "%s: starting port polling.\n", __func__);
- set_bit(HCD_FLAG_POLL_RH, &hcd->flags);
- spin_unlock(&xhci->lock);
/* Pass this up to the core */
usb_hcd_poll_rh_status(hcd);
spin_lock(&xhci->lock);