commit | 0d66b3ad2cbfceac6301c2235421ea8e8ae9a330 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Jul 19 21:50:00 2017 +0800 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:20 2017 +0200 |
tree | 9a21fcf2f8404167d53118425b5df5f4aca0e339 | |
parent | 5003a8f5cbe4a27341849ea18c6bfde16cc2dd24 [diff] |
usb: hub: Change USB hub descriptor to match USB 3.0 hubs 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.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stefan Roese <sr@denx.de> Tested-by: Stefan Roese <sr@denx.de>