diff options
Diffstat (limited to 'drivers/usb/host/ehci-ps3.c')
-rw-r--r-- | drivers/usb/host/ehci-ps3.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/usb/host/ehci-ps3.c b/drivers/usb/host/ehci-ps3.c index a20e496eb479..45a356e9f138 100644 --- a/drivers/usb/host/ehci-ps3.c +++ b/drivers/usb/host/ehci-ps3.c | |||
@@ -55,28 +55,12 @@ static int ps3_ehci_hc_reset(struct usb_hcd *hcd) | |||
55 | struct ehci_hcd *ehci = hcd_to_ehci(hcd); | 55 | struct ehci_hcd *ehci = hcd_to_ehci(hcd); |
56 | 56 | ||
57 | ehci->big_endian_mmio = 1; | 57 | ehci->big_endian_mmio = 1; |
58 | |||
59 | ehci->caps = hcd->regs; | 58 | ehci->caps = hcd->regs; |
60 | ehci->regs = hcd->regs + HC_LENGTH(ehci, ehci_readl(ehci, | ||
61 | &ehci->caps->hc_capbase)); | ||
62 | |||
63 | dbg_hcs_params(ehci, "reset"); | ||
64 | dbg_hcc_params(ehci, "reset"); | ||
65 | |||
66 | ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); | ||
67 | |||
68 | result = ehci_halt(ehci); | ||
69 | 59 | ||
60 | result = ehci_setup(hcd); | ||
70 | if (result) | 61 | if (result) |
71 | return result; | 62 | return result; |
72 | 63 | ||
73 | result = ehci_init(hcd); | ||
74 | |||
75 | if (result) | ||
76 | return result; | ||
77 | |||
78 | ehci_reset(ehci); | ||
79 | |||
80 | ps3_ehci_setup_insnreg(ehci); | 64 | ps3_ehci_setup_insnreg(ehci); |
81 | 65 | ||
82 | return result; | 66 | return result; |