diff options
Diffstat (limited to 'drivers/usb/host/ehci-sh.c')
-rw-r--r-- | drivers/usb/host/ehci-sh.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/usb/host/ehci-sh.c b/drivers/usb/host/ehci-sh.c index 6081e1ed3ac9..0c90a24fa989 100644 --- a/drivers/usb/host/ehci-sh.c +++ b/drivers/usb/host/ehci-sh.c | |||
@@ -21,17 +21,10 @@ struct ehci_sh_priv { | |||
21 | static int ehci_sh_reset(struct usb_hcd *hcd) | 21 | static int ehci_sh_reset(struct usb_hcd *hcd) |
22 | { | 22 | { |
23 | struct ehci_hcd *ehci = hcd_to_ehci(hcd); | 23 | struct ehci_hcd *ehci = hcd_to_ehci(hcd); |
24 | int ret; | ||
25 | 24 | ||
26 | ehci->caps = hcd->regs; | 25 | ehci->caps = hcd->regs; |
27 | 26 | ||
28 | ret = ehci_setup(hcd); | 27 | return ehci_setup(hcd); |
29 | if (unlikely(ret)) | ||
30 | return ret; | ||
31 | |||
32 | ehci_port_power(ehci, 0); | ||
33 | |||
34 | return ret; | ||
35 | } | 28 | } |
36 | 29 | ||
37 | static const struct hc_driver ehci_sh_hc_driver = { | 30 | static const struct hc_driver ehci_sh_hc_driver = { |