+static void ehci_rockchip_relinquish_port(struct usb_hcd *hcd, int portnum)
+{
+ struct ehci_hcd *ehci = hcd_to_ehci(hcd);
+ u32 __iomem *status_reg = &ehci->regs->port_status[--portnum];
+ u32 portsc;
+
+ portsc = ehci_readl(ehci, status_reg);
+ portsc &= ~(PORT_OWNER | PORT_RWC_BITS);
+
+ ehci_writel(ehci, portsc, status_reg);
+}
+