diff options
author | Tom Rini <trini@konsulko.com> | 2015-06-15 20:45:50 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-15 20:45:50 -0400 |
commit | 0d3f732fd2ba679b4498541f075d1b1bdbea3935 (patch) | |
tree | 6a2dac39831a333c52b2e8329ec99f2b8ccf018d /drivers/usb/host/ehci-fsl.c | |
parent | b48b69ba10fd1fd1f0de73220438ba8052fc2a33 (diff) | |
parent | 2911bd1858d11308164b0b33de4ea0e8994d3edf (diff) |
Merge git://git.denx.de/u-boot-usb
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
-rw-r--r-- | drivers/usb/host/ehci-fsl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 5fd618df87..97b7f14542 100644 --- a/drivers/usb/host/ehci-fsl.c +++ b/drivers/usb/host/ehci-fsl.c @@ -76,7 +76,7 @@ int ehci_hcd_init(int index, enum usb_init_type init, break; default: printf("ERROR: wrong controller index!!\n"); - break; + return -EINVAL; }; *hccr = (struct ehci_hccr *)((uint32_t)&ehci->caplength); |