diff options
author | Raul E Rangel <rrangel@chromium.org> | 2018-07-17 13:27:44 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-07-17 20:38:46 +0000 |
commit | 1b43ad7149ebae684b0cbd08d293117a7304249d (patch) | |
tree | 2fb0f96517574349ba9e13a37353ec9f976e87f0 /payloads/libpayload/gdb/commands.c | |
parent | 5fed693a52ed9746900ce58ec12a2b245f08202e (diff) |
libpayload/generic_hub: Detect port disconnect after reset
If a port disconnects after a reset we should abort any initialization
on the port. This might mean the device has re-enumerated as a 3.0 device
so the hub should be scanned again.
BUG=b:76831439
TEST=Verified USB-C devices that get detected correctly in depthcharge.
Change-Id: Iad899544684312df1bef08d69b5c7f41eac3a21c
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://review.coreboot.org/27477
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'payloads/libpayload/gdb/commands.c')
0 files changed, 0 insertions, 0 deletions