]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
usb: Handle -ENODEV from usb_lowlevel_init()
authorMarek Vasut <marex@denx.de>
Fri, 1 Aug 2014 01:09:53 +0000 (03:09 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 29 Aug 2014 09:27:42 +0000 (11:27 +0200)
commit97b9eb9e6a2f2cc4c79fe6c0ad7cd3bc7dbe3457
treea65073440b99a5fc5bb5d51c39b5c7cbe2837801
parent124c5998755ef6778ca43acab27372fc470b8366
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>
common/usb.c