diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index d9ea852ccc89..c0461bce7e36 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c @@ -456,14 +456,14 @@ static int tegra_ehci_probe(struct platform_device *pdev) tegra->transceiver = otg_get_transceiver(); #endif - tegra->host_reinited = 1; - err = usb_add_hcd(hcd, irq, IRQF_DISABLED | IRQF_SHARED); if (err != 0) { dev_err(&pdev->dev, "Failed to add USB HCD\n"); goto fail; } + tegra->host_reinited = 1; + if (tegra->transceiver) { otg_set_host(tegra->transceiver, (struct usb_bus *)hcd);