]> git.dujemihanovic.xyz Git - u-boot.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)
commitcec804251d4b4765bbcaa207f4c931fef350585e
tree1081ae9d2eb1da8e83c44fe1a263300ab3b6d251
parent5a5024fee073fea1b2f72601c4f3f006451fd176
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