[U-Boot] [PATCH 05/22] usb: Add an usb_device parameter to usb_reset_root_port

Simon Glass sjg at chromium.org
Mon Jun 29 05:45:02 CEST 2015


On 17 June 2015 at 13:33, Hans de Goede <hdegoede at redhat.com> wrote:
> 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 at redhat.com>
> ---
>  common/usb.c                      | 2 +-
>  drivers/usb/host/usb-uclass.c     | 2 +-
>  drivers/usb/musb-new/musb_uboot.c | 4 ++--
>  include/usb.h                     | 8 ++------
>  4 files changed, 6 insertions(+), 10 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list