]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)
authorStefan Roese <sr@denx.de>
Tue, 21 Jul 2020 08:46:02 +0000 (10:46 +0200)
committerMarek Vasut <marex@denx.de>
Wed, 5 Aug 2020 07:30:46 +0000 (09:30 +0200)
commit543eb12ecd91df324554b8abc8d52e965bd4922b
treecbde7d8fbd41a36b3042a4fb9329b90ef12e4136
parentf1c0b7cd4be2081ae3711cec2c4cc2910a5817e1
usb: xhci: Add missing endian conversions (cpu_to_leXX / leXX_to_cpu)

While trying to use the U-Boot xHCI driver on the MIPS Octeon platform,
which is big endian, I noticed that the driver is missing a few endian
conversion calls. This patch adds these missing endian conversion
calls.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-mem.c