coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Caveh Jalali 96f231ac4b usb/xhci: Fix timeout logic
This fixes a logic bug in how timeouts are reported back. In the
timeout case, the original code would return -1 instead of 0. All call
sites expect a return value of 0 as the timeout indicator.

Signed-off-by: Caveh Jalali <caveh@chromium.org>
Change-Id: I81a888aa0a1544e55e6a680be8f3b7f6e0d87812
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41854
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
2020-06-06 09:26:02 +00:00
..
Kconfig
TODO
dwc2.c
dwc2.h
dwc2_private.h
dwc2_rh.c
ehci.c
ehci.h
ehci_private.h
ehci_rh.c
generic_hub.c
generic_hub.h
ohci.c
ohci.h
ohci_private.h
ohci_rh.c
quirks.c
uhci.c
uhci.h
uhci_private.h
uhci_rh.c
usb.c
usb_dev.c
usbhid.c
usbhub.c
usbinit.c
usbmsc.c
xhci.c
xhci.h
xhci_commands.c
xhci_debug.c
xhci_devconf.c
xhci_events.c
xhci_private.h
xhci_rh.c