]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: hub: Fix usb_get_port_status() for big-endian platforms
authorAaron Williams <awilliams@marvell.com>
Tue, 6 Apr 2021 10:10:16 +0000 (12:10 +0200)
committerMarek Vasut <marex@denx.de>
Tue, 6 Apr 2021 14:38:57 +0000 (16:38 +0200)
commitc1125bad6cda95b45ec151e6d2227fb2b7b03a43
tree6961552f02808e5307526079063d68d604931794
parent472fd5a35af3308f97de0376a6c25f5368035557
usb: hub: Fix usb_get_port_status() for big-endian platforms

Add missing endianness conversions to usb_get_port_status(). This
(amongst others) is necessary to enable the use of USB 3 hubs on
big-endian platforms like MIPS Octeon.

Signed-off-by: Aaron Williams <awilliams@marvell.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
common/usb_hub.c