]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
dm: usb: Split hub detection into its own function
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:09 +0000 (12:22 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:54 +0000 (21:47 +0200)
commitd3bc79448c8253c2257e0ac4a44456a608329ccc
tree6c392e58f689eba119441c70b6a8a0894f7d52ee
parent5ccaccd26502164839e09c10a8b845ed97366e49
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>
common/usb_hub.c