coreboot-kgpe-d16/payloads/libpayload/drivers/usb
Nico Huber 2a976f0d07 libpayload/uhci: Return expected length for control/bulk transfers
Libpayload's USB API was changed in commit e9738dbe2b (libpayload: Make
USB transfer functions return amount of bytes). However, the UHCI driver
was never adapted. Instead of returning 0 for success, we can return the
expected data length as a best effort. We won't be able to catch short
transfers this way, but previously working cases will work again.

Change-Id: I31d7de495a46af401e2cbe5a3b8f6349facad8ff
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75349
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2023-06-04 18:49:35 +00:00
..
Kconfig
TODO
dwc2.c
dwc2.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
dwc2_private.h
dwc2_rh.c
ehci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ehci_private.h
ehci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
generic_hub.c
generic_hub.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
ohci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
quirks.c
uhci.c libpayload/uhci: Return expected length for control/bulk transfers 2023-06-04 18:49:35 +00:00
uhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
uhci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usb.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usb_dev.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbhid.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbhub.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbinit.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
usbmsc.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_commands.c
xhci_debug.c
xhci_devconf.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_events.c
xhci_private.h libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00
xhci_rh.c libpayload: usb: Fix spacing issues 2022-08-12 17:17:53 +00:00