diff options
author | Stefan Agner <stefan@agner.ch> | 2016-05-05 16:59:12 -0700 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2016-05-06 18:33:26 +0200 |
commit | 79d867c2e683f7080a8724a54a4a12ac0ce1f837 (patch) | |
tree | 0f593c55763ffb902be9442d899dc71e093bec72 /drivers/usb/host/xhci.c | |
parent | bbca7108db79076d3a9a9c112792d7c4608a665c (diff) | |
download | u-boot-imx-79d867c2e683f7080a8724a54a4a12ac0ce1f837.zip u-boot-imx-79d867c2e683f7080a8724a54a4a12ac0ce1f837.tar.gz u-boot-imx-79d867c2e683f7080a8724a54a4a12ac0ce1f837.tar.bz2 |
usb: ehci-mx6: allow board_ehci_hcd_init to fail
There could be runtime determined board specific reason why a EHCI
initialization fails (e.g. ENODEV if a Port is not available). In
this case, properly return the error code.
While at it, that function (board_ehci_hcd_init) has actually two
documentation blocks... Use the correct function name for the
documentation block of board_usb_phy_mode.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions