]> git.baikalelectronics.ru Git - uboot.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)
commit7acd79beac928a541ebd092cee4cc81baa53e910
treecbde7d8fbd41a36b3042a4fb9329b90ef12e4136
parent65968c94f2acb3a96c46cb142f64aa990d78b360
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