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 treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
TODO
dwc2.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dwc2.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dwc2_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
dwc2_rh.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ehci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ehci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ehci_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ehci_rh.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
generic_hub.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
generic_hub.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ohci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ohci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ohci_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
ohci_rh.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
quirks.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uhci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uhci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uhci_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
uhci_rh.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usb.c libpayload: drivers/usb: add a USB pre-poll hook 2020-06-06 01:49:52 +00:00
usb_dev.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbhid.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbhub.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbinit.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
usbmsc.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci.c usb/xhci: Fix timeout logic 2020-06-06 09:26:02 +00:00
xhci.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_commands.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_debug.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_devconf.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_events.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_private.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
xhci_rh.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00