]> git.ipfire.org Git - people/ms/u-boot.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)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:21 +0000 (11:11 -0600)
commit361ad6afc479d8aac330525b98df7a36dea4116d
treec215280d678ee62869825c8b54da940702bb1ca3
parent95fbfe42980ea75c7955a6ddf4f28be1a6407920
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