commit | 97b9eb9e6a2f2cc4c79fe6c0ad7cd3bc7dbe3457 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Fri Aug 01 03:09:53 2014 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Aug 29 11:27:42 2014 +0200 |
tree | a65073440b99a5fc5bb5d51c39b5c7cbe2837801 | |
parent | 124c5998755ef6778ca43acab27372fc470b8366 [diff] |
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: Marek Vasut <marex@denx.de>