]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Fix compare to use physical addresses in xhci_bulk_tx()
authorStefan Roese <sr@denx.de>
Fri, 15 Jan 2021 07:52:56 +0000 (08:52 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 10 Feb 2021 21:23:24 +0000 (22:23 +0100)
commite3e63475f6e3c27a2db7cb410ae180e5b80ab22e
tree1081ae9d2eb1da8e83c44fe1a263300ab3b6d251
parent795c8ef0239eb916b1d3e7a0b3b88ce22f3c4717
usb: xhci: Fix compare to use physical addresses in xhci_bulk_tx()

Testing with v2021.01 on MIPS Octeon has shown, that the latest patch
for the "short packet event trb handling" did introduce a bug on
platforms with virtual address != physical address. This patch fixes
this issue by using the correct address types in the compare (both
physical in this case).

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Aaron Williams <awilliams@marvell.com>
Cc: Chandrakala Chavva <cchavva@marvell.com>
Cc: Ran Wang <ran.wang_1@nxp.com>
Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
drivers/usb/host/xhci-ring.c