commit | 149471be650c653f0ea58e3f200d87dc59a29241 | [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 | 258fe696926ada08151adec537c49dd84916ace2 [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>