On 16 June 2017 at 07:31, Bin Meng <bmeng...@gmail.com> wrote:
> USB 3.0 hubs have a slightly different hub descriptor than USB 2.0
> hubs, with a fixed (rather than variable length) size. Change the
> host controller drivers that access those last two fields
> (DeviceRemovable and PortPowerCtrlMask) to use the union.
>
> Signed-off-by: Bin Meng <bmeng...@gmail.com>
> ---
>
>  common/usb_hub.c               | 12 +++++++-----
>  drivers/usb/emul/sandbox_hub.c |  7 ++++++-
>  drivers/usb/host/ehci-hcd.c    |  4 ++--
>  drivers/usb/host/xhci.c        |  4 ++--
>  include/usb.h                  | 18 ++++++++++++++----
>  5 files changed, 31 insertions(+), 14 deletions(-)

Reviewed-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to