]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses
authorStefan Roese <sr@denx.de>
Mon, 24 Aug 2020 11:04:37 +0000 (13:04 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 7 Oct 2020 18:25:57 +0000 (20:25 +0200)
commite68efa1ecf4552158451f9b097fbcc15ce927489
tree37f07f4cb34f37a24c8fec28703e0353d0293c61
parent72a53ac59b9897d86471f5d44d2d4cbf82209d8e
usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

Octeon uses mapped addresses for virtual and physical memory. It's not
that easy to calculate the resulting addresses here. So let's remove
this BUG_ON() completely, as it's not really helpful.

Please also note, that BUG_ON() is not recommended any more in the Linux
kernel.

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