Skip to content
Snippets Groups Projects
Commit 97b9eb9e authored by Marek Vasut's avatar Marek Vasut
Browse files

usb: Handle -ENODEV from usb_lowlevel_init()


As we support both Host and Device mode operation, an OTG controller
can return -ENODEV on a port which it found to be in Device mode during
Host mode scan for devices. In case -ENODEV is returned, print that the
port is not available and continue instead of screaming a bloody error
message.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
parent 124c5998
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