diff options
Diffstat (limited to 'drivers/usb/host/ehci-ixp4xx.c')
-rw-r--r-- | drivers/usb/host/ehci-ixp4xx.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/usb/host/ehci-ixp4xx.c b/drivers/usb/host/ehci-ixp4xx.c index c4460f3d009f..488d401942e9 100644 --- a/drivers/usb/host/ehci-ixp4xx.c +++ b/drivers/usb/host/ehci-ixp4xx.c | |||
@@ -22,14 +22,10 @@ static int ixp4xx_ehci_init(struct usb_hcd *hcd) | |||
22 | ehci->big_endian_mmio = 1; | 22 | ehci->big_endian_mmio = 1; |
23 | 23 | ||
24 | ehci->caps = hcd->regs + 0x100; | 24 | ehci->caps = hcd->regs + 0x100; |
25 | ehci->regs = hcd->regs + 0x100 | ||
26 | + HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); | ||
27 | ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); | ||
28 | 25 | ||
29 | hcd->has_tt = 1; | 26 | hcd->has_tt = 1; |
30 | ehci_reset(ehci); | ||
31 | 27 | ||
32 | retval = ehci_init(hcd); | 28 | retval = ehci_setup(hcd); |
33 | if (retval) | 29 | if (retval) |
34 | return retval; | 30 | return retval; |
35 | 31 | ||