diff options
-rw-r--r-- | drivers/usb/host/ehci-tegra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 8dac5e41a741..6ee7ef79b4f8 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c | |||
@@ -478,15 +478,15 @@ static int tegra_ehci_probe(struct platform_device *pdev) | |||
478 | err = usb_add_hcd(hcd, irq, IRQF_SHARED); | 478 | err = usb_add_hcd(hcd, irq, IRQF_SHARED); |
479 | if (err) { | 479 | if (err) { |
480 | dev_err(&pdev->dev, "Failed to add USB HCD\n"); | 480 | dev_err(&pdev->dev, "Failed to add USB HCD\n"); |
481 | goto cleanup_phy; | 481 | goto cleanup_transceiver; |
482 | } | 482 | } |
483 | 483 | ||
484 | return err; | 484 | return err; |
485 | 485 | ||
486 | cleanup_phy: | 486 | cleanup_transceiver: |
487 | if (!IS_ERR(tegra->transceiver)) | 487 | if (!IS_ERR(tegra->transceiver)) |
488 | otg_set_host(tegra->transceiver->otg, NULL); | 488 | otg_set_host(tegra->transceiver->otg, NULL); |
489 | 489 | cleanup_phy: | |
490 | usb_phy_shutdown(hcd->phy); | 490 | usb_phy_shutdown(hcd->phy); |
491 | cleanup_clk_en: | 491 | cleanup_clk_en: |
492 | clk_disable_unprepare(tegra->clk); | 492 | clk_disable_unprepare(tegra->clk); |