]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - drivers/usb/host/ehci-tegra.c
Merge commit 'xceiv-for-v3.7' into for-3.7/cleanup2
[mirror_ubuntu-zesty-kernel.git] / drivers / usb / host / ehci-tegra.c
index 65408f7ae92bd7ac6216b76c83829546723c6205..c0d47323b52ad075867051c50fb8daede600b644 100644 (file)
@@ -801,11 +801,12 @@ static int tegra_ehci_remove(struct platform_device *pdev)
 #endif
 
        usb_remove_hcd(hcd);
-       usb_put_hcd(hcd);
 
        usb_phy_shutdown(&tegra->phy->u_phy);
        iounmap(hcd->regs);
 
+       usb_put_hcd(hcd);
+
        clk_disable_unprepare(tegra->clk);
        clk_put(tegra->clk);