Skip to content
Commit 8d1e03f9 authored by Hector Martin's avatar Hector Martin Committed by Marek Vasut
Browse files

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: default avatarHector Martin <marcan@marcan.st>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent 43f2873f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment