diff options
author | Nico Huber <nico.huber@secunet.com> | 2023-05-31 12:49:42 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-06-04 18:49:35 +0000 |
commit | 2a976f0d072c334de5b6a615745d40cdb577df81 (patch) | |
tree | c907bddd642242231199b8e0034b449afca1e443 /src/soc/intel/meteorlake/acpi | |
parent | f397bec457aeb780ba9f15a0559eeff708144c49 (diff) |
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>
Diffstat (limited to 'src/soc/intel/meteorlake/acpi')
0 files changed, 0 insertions, 0 deletions