diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-07-25 15:37:09 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-07-25 15:37:09 -0400 |
commit | c1f9c4227ca2c5bc64abbde3d9d63fd8c06571d7 (patch) | |
tree | fd013d6f38b25fd1c3890a7f4ad9aa25311e7f54 /drivers/usb/host | |
parent | 49121304a9831449a841ca0c77dc0ad8697e23c9 (diff) | |
parent | 778435045a416da71f1757a80e37200a5ea5af70 (diff) |
Merge branch 'v3.5-rc7-fixes' of git://github.com/lunn/linux into fixes
From Andrew Lunn <andrew@lunn.ch>:
* 'v3.5-rc7-fixes' of git://github.com/lunn/linux:
ARM: Kirkwood: Replace mrvl with marvell
ARM: Orion: fix driver probe error handling with respect to clk
ARM: Dove: Fixup ge00 initialisation
ARM: Kirkwood: Fix PHY disable clk problems
ARM: Kirkwood: Ensure runit clock always ticks.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/usb/host')
-rw-r--r-- | drivers/usb/host/ehci-orion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 82de1073aa52..c6903e3af29c 100644 --- a/drivers/usb/host/ehci-orion.c +++ b/drivers/usb/host/ehci-orion.c | |||
@@ -298,6 +298,10 @@ static int __devinit ehci_orion_drv_probe(struct platform_device *pdev) | |||
298 | err4: | 298 | err4: |
299 | usb_put_hcd(hcd); | 299 | usb_put_hcd(hcd); |
300 | err3: | 300 | err3: |
301 | if (!IS_ERR(clk)) { | ||
302 | clk_disable_unprepare(clk); | ||
303 | clk_put(clk); | ||
304 | } | ||
301 | iounmap(regs); | 305 | iounmap(regs); |
302 | err2: | 306 | err2: |
303 | release_mem_region(res->start, resource_size(res)); | 307 | release_mem_region(res->start, resource_size(res)); |