diff options
author | Kangheui Won <khwon@chromium.org> | 2020-01-24 21:53:01 +1100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-02-05 09:56:26 +0000 |
commit | a3d79292e7a6adc0c5dc4c53117feb5225bc6225 (patch) | |
tree | 426a99cc63faba05d999ca54c7167fd8a8c65e15 /src/include/random.h | |
parent | b48148f4b35dbf7fc36612cb933c133a37a69261 (diff) |
libpayload/xhci: Fix MPS handling in set_address
We set MPS to speed_to_default_mps(speed) initially
but later compare maxpacketsize with 8 to change mps.
So compare with speed_to_default_mps(speed) to determine
if we need to change settings here.
BUG=b:147783572
BRANCH=none
TEST=works with 12Mbps/8MPS USB device
Signed-off-by: Kangheui Won <khwon@chromium.org>
Change-Id: I32455483fceec56f14af6118b77615c14b3f9f39
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38556
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/random.h')
0 files changed, 0 insertions, 0 deletions