diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-08-10 21:15:43 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-18 15:57:16 -0700 |
commit | 9adf9f9ee71a6acb017922946ba1b8b2b2cff550 (patch) | |
tree | 22abbd8a001808c424eda2d0e60efc3e33322a23 /sound | |
parent | b46a9c9095bf1652a591149b6febe5e5413a60b3 (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 <badhri@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions