]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Fix DMA address calculation in queue_trb
authorHector Martin <marcan@marcan.st>
Sun, 29 Oct 2023 06:37:44 +0000 (15:37 +0900)
committerMarek Vasut <marex@denx.de>
Fri, 1 Dec 2023 13:06:04 +0000 (14:06 +0100)
commita14843fdac24bf18bd58152b959ca0425adaa1e4
tree4220f61f166f8095a9df0d766d5d56f2d6428a7c
parent2fd7037122a920ae22377b06aa5b32651cc71f13
usb: xhci: Fix DMA address calculation in queue_trb

We need to get the DMA address before incrementing the pointer, as that
might move us onto another segment.

Signed-off-by: Hector Martin <marcan@marcan.st>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-ring.c