diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/host/ehci-tegra.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 78fa76da3324..e6d8e26e48cc 100644 --- a/drivers/usb/host/ehci-tegra.c +++ b/drivers/usb/host/ehci-tegra.c | |||
| @@ -388,7 +388,7 @@ static int tegra_ehci_probe(struct platform_device *pdev) | |||
| 388 | 388 | ||
| 389 | err = clk_prepare_enable(tegra->clk); | 389 | err = clk_prepare_enable(tegra->clk); |
| 390 | if (err) | 390 | if (err) |
| 391 | goto cleanup_clk_get; | 391 | goto cleanup_hcd_create; |
| 392 | 392 | ||
| 393 | tegra_periph_reset_assert(tegra->clk); | 393 | tegra_periph_reset_assert(tegra->clk); |
| 394 | udelay(1); | 394 | udelay(1); |
| @@ -465,8 +465,6 @@ cleanup_phy: | |||
| 465 | usb_phy_shutdown(hcd->phy); | 465 | usb_phy_shutdown(hcd->phy); |
| 466 | cleanup_clk_en: | 466 | cleanup_clk_en: |
| 467 | clk_disable_unprepare(tegra->clk); | 467 | clk_disable_unprepare(tegra->clk); |
| 468 | cleanup_clk_get: | ||
| 469 | clk_put(tegra->clk); | ||
| 470 | cleanup_hcd_create: | 468 | cleanup_hcd_create: |
| 471 | usb_put_hcd(hcd); | 469 | usb_put_hcd(hcd); |
| 472 | return err; | 470 | return err; |
