]> git.sur5r.net Git - u-boot/commit
usb: ehci-mx6: allow board_ehci_hcd_init to fail
authorStefan Agner <stefan@agner.ch>
Thu, 5 May 2016 23:59:12 +0000 (16:59 -0700)
committerMarek Vasut <marex@denx.de>
Fri, 6 May 2016 16:33:26 +0000 (18:33 +0200)
commit79d867c2e683f7080a8724a54a4a12ac0ce1f837
tree0f593c55763ffb902be9442d899dc71e093bec72
parentbbca7108db79076d3a9a9c112792d7c4608a665c
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>
drivers/usb/host/ehci-mx6.c