commit | 337fc7e665a20bd0c23da233ffb9e8469d999e72 | [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 | 53771a490e05e8be750a6ee50002e30df4776e9b [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>