]> git.sur5r.net Git - u-boot/commit
dm: usb: Refactor port resets
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:04 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:20 +0000 (11:11 -0600)
commit862e75c0dbb578ec2e1f374794007048f3dd29c6
tree0358873bc0ccfe7219a2aa526f5613d530a335f9
parent53d8aa0f612325abb5754b8cbf33170e89f08b1e
dm: usb: Refactor port resets

Move the port reset code into its own function. Rename usb_hub_reset() to
indicate that is is now a legacy function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb.c
common/usb_hub.c
include/usb.h