Skip to content
Snippets Groups Projects
Commit 79d867c2 authored by Stefan Agner's avatar Stefan Agner Committed by Marek Vasut
Browse files

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: default avatarStefan Agner <stefan@agner.ch>
parent bbca7108
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment