diff options
Diffstat (limited to 'drivers/usb/host/ehci-sead3.c')
-rw-r--r-- | drivers/usb/host/ehci-sead3.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/host/ehci-sead3.c index 4c164308ed20..cc199e87a7a9 100644 --- a/drivers/usb/host/ehci-sead3.c +++ b/drivers/usb/host/ehci-sead3.c | |||
@@ -28,17 +28,17 @@ static int ehci_sead3_setup(struct usb_hcd *hcd) | |||
28 | 28 | ||
29 | ehci->caps = hcd->regs + 0x100; | 29 | ehci->caps = hcd->regs + 0x100; |
30 | 30 | ||
31 | #ifdef __BIG_ENDIAN | ||
32 | ehci->big_endian_mmio = 1; | ||
33 | ehci->big_endian_desc = 1; | ||
34 | #endif | ||
35 | |||
31 | ret = ehci_setup(hcd); | 36 | ret = ehci_setup(hcd); |
32 | if (ret) | 37 | if (ret) |
33 | return ret; | 38 | return ret; |
34 | 39 | ||
35 | ehci->need_io_watchdog = 0; | 40 | ehci->need_io_watchdog = 0; |
36 | 41 | ||
37 | #ifdef __BIG_ENDIAN | ||
38 | ehci->big_endian_mmio = 1; | ||
39 | ehci->big_endian_desc = 1; | ||
40 | #endif | ||
41 | |||
42 | /* Set burst length to 16 words. */ | 42 | /* Set burst length to 16 words. */ |
43 | ehci_writel(ehci, 0x1010, &ehci->regs->reserved[1]); | 43 | ehci_writel(ehci, 0x1010, &ehci->regs->reserved[1]); |
44 | 44 | ||