commit | 175d76f84413dddceb2c43ff9772d1e47ff1a67f | [log] [tgz] |
---|---|---|
author | Cindy Liu <hcindyl@google.com> | Mon Aug 17 17:08:57 2020 -0700 |
committer | Cindy Liu <hcindyl@google.com> | Tue Aug 18 21:10:46 2020 -0700 |
tree | 78350597098244a9d4467121d9feafb74021a48b | |
parent | 8f9bf83b70648af756a201e3e3048d78bad24570 [diff] |
Add extra hub_port_reset for MTK USB virtual hub MTK's USB virtual hub is at a wrong state after a software reset. Thus hub_port_init times out while waiting for the descriptor, causing a >4s delay per TPU engine initialization. Adding an extra hub_port_reset seems to put the hub back to the correct state, and cuts the response time to <1s to get the descriptor after the reset. Change-Id: If1e17fe2a71f49784ee0b9e8fc0b16f7d06753ec