aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorGuenter Roeck <[email protected]>2017-08-10 21:15:43 -0700
committerGreg Kroah-Hartman <[email protected]>2017-08-18 15:57:16 -0700
commit9adf9f9ee71a6acb017922946ba1b8b2b2cff550 (patch)
tree22abbd8a001808c424eda2d0e60efc3e33322a23 /tools/lib/api/debug.c
parentb46a9c9095bf1652a591149b6febe5e5413a60b3 (diff)
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 <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions