diff options
author | 2017-08-10 21:15:43 -0700 | |
---|---|---|
committer | 2017-08-18 15:57:16 -0700 | |
commit | 9adf9f9ee71a6acb017922946ba1b8b2b2cff550 (patch) | |
tree | 22abbd8a001808c424eda2d0e60efc3e33322a23 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: typec: tcpm: Select default state based on port type (diff) | |
download | wireguard-linux-9adf9f9ee71a6acb017922946ba1b8b2b2cff550.tar.xz wireguard-linux-9adf9f9ee71a6acb017922946ba1b8b2b2cff550.zip |
staging: typec: tcpm: Add timeout when waiting for role swap completion
The Type-C protocol manager state machine could fail, which might result
in role swap requests from user space to hang forever. Add a generous
timeout when waiting for role swaps to complete to avoid this situation.
Originally-from: Badhri Jagan Sridharan <badhri@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions