diff options
author | Badhri Jagan Sridharan <[email protected]> | 2021-03-17 23:48:05 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-03-18 09:47:47 +0100 |
commit | 2b8c956ea6ba896ec18ae36c2684ecfa04c1f479 (patch) | |
tree | 66ec4240b95e7144ee0b141d21522f9a8910ac1d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f09ddcfcb8c569675066337adac2ac205113471f (diff) |
usb: typec: tcpm: Skip sink_cap query only when VDM sm is busy
When port partner responds "Not supported" to the DiscIdentity command,
VDM state machine can remain in NVDM_STATE_ERR_TMOUT and this causes
querying sink cap to be skipped indefinitely. Hence check for
vdm_sm_running instead of checking for VDM_STATE_DONE.
Fixes: 8dc4bd073663f ("usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS)")
Acked-by: Heikki Krogerus <[email protected]>
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Cc: stable <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions