summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-07-19 13:49:59 (GMT)
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2017-08-08 08:42:23 (GMT)
commit788e251924aebc1cb481a879490a367029b1cc74 (patch)
tree1e14e0f7124567bd02dec458eb708be668d40b46 /drivers
parentef66b33e7de58b9da3ed6b205e599e9ab8a1c153 (diff)
downloadu-boot-788e251924aebc1cb481a879490a367029b1cc74.tar.xz
usb: hub: Revise wLength for 'get port status' request
For accuracy, we should use 'sizeof(struct usb_port_status)' as the wLength for 'get port status' request, although it happens to be equal to 'sizeof(struct usb_hub_status)'. 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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions