]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: xhci: Do not panic on event timeouts
authorHector Martin <marcan@marcan.st>
Sun, 29 Oct 2023 06:37:43 +0000 (15:37 +0900)
committerMarek Vasut <marex@denx.de>
Fri, 1 Dec 2023 13:06:04 +0000 (14:06 +0100)
commit2fd7037122a920ae22377b06aa5b32651cc71f13
tree1046b822213afe34869f68ce6614eb708ba504cc
parentfb5502be2544f9c3a7f662e6618e26f0831d242d
usb: xhci: Do not panic on event timeouts

Now that we always check the return value, just return NULL on timeouts.
We can still log the error since this is a problem, but it's not reason
to panic.

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