commit | 3dfd3a06d1a270f3e5852d8f7afcf2f678105040 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Thu May 05 16:59:12 2016 -0700 |
committer | Marek Vasut <marex@denx.de> | Fri May 06 18:33:26 2016 +0200 |
tree | 0f593c55763ffb902be9442d899dc71e093bec72 | |
parent | 8e7c1be153cb356da285060333009d271c3a09c9 [diff] |
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>