commit | 8d1e03f984c7467d7c8883f15dea14b2f8b4c0e2 | [log] [tgz] |
---|---|---|
author | Hector Martin <marcan@marcan.st> | Sun Oct 29 15:37:38 2023 +0900 |
committer | Marek Vasut <marex@denx.de> | Fri Dec 01 14:06:04 2023 +0100 |
tree | 2cb1fb2b67b4045902e79d5459299f78e17700d8 | |
parent | 43f2873fa98b1da6eb56d756315c7bd7db63db27 [diff] |
usb: xhci: Guard all calls to xhci_wait_for_event xhci_wait_for_event returns NULL on timeout, so the caller always has to check for that. This addresses immediate explosions in this part of the code when timeouts happen, but not the root cause for the timeout. Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Marek Vasut <marex@denx.de>