commit | f977c182307b0986f79c8d5444cd66f7006ef734 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Mar 25 12:22:09 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Sat Apr 18 11:11:21 2015 -0600 |
tree | c215280d678ee62869825c8b54da940702bb1ca3 | |
parent | 2674e26ebbcae3ec96121fcf59bbf0c5dad78c22 [diff] |
dm: usb: Split hub detection into its own function Split out the hub detection logic so it can be used by driver model. Also adjust the code to return errors correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>