]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Add an usb_device parameter to usb_reset_root_port
authorHans de Goede <hdegoede@redhat.com>
Wed, 17 Jun 2015 19:33:48 +0000 (21:33 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:35 +0000 (17:39 -0600)
commit8802f56349eef1eedaf12238f84810d0691aaf34
treebfc31d7d21a595b0b37e7de2fbb5cc84713e2aa4
parent682c9f8dfc47df94df061df58345d84f69be0a34
usb: Add an usb_device parameter to usb_reset_root_port

Add an usb_device parameter to usb_reset_root_port so that it knows which
root-port it is resetting. This is necessary for proper device-model support
for usb_reset_root_port.

Also remove a duplicate declaration of usb_reset_root_port() from usb.h .

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Simon Glass <sjg@chromium.org>
common/usb.c
drivers/usb/host/usb-uclass.c
drivers/usb/musb-new/musb_uboot.c
include/usb.h