diff options
Diffstat (limited to 'drivers/usb/host/ehci-platform.c')
-rw-r--r-- | drivers/usb/host/ehci-platform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 5733f8ed98f1..5196d728517d 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c | |||
@@ -48,6 +48,12 @@ static int ehci_platform_reset(struct usb_hcd *hcd) | |||
48 | ehci->big_endian_desc = pdata->big_endian_desc; | 48 | ehci->big_endian_desc = pdata->big_endian_desc; |
49 | ehci->big_endian_mmio = pdata->big_endian_mmio; | 49 | ehci->big_endian_mmio = pdata->big_endian_mmio; |
50 | 50 | ||
51 | if (pdata->pre_setup) { | ||
52 | retval = pdata->pre_setup(hcd); | ||
53 | if (retval < 0) | ||
54 | return retval; | ||
55 | } | ||
56 | |||
51 | ehci->caps = hcd->regs + pdata->caps_offset; | 57 | ehci->caps = hcd->regs + pdata->caps_offset; |
52 | retval = ehci_setup(hcd); | 58 | retval = ehci_setup(hcd); |
53 | if (retval) | 59 | if (retval) |