diff options
| author | Badhri Jagan Sridharan <[email protected]> | 2017-08-28 10:23:18 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-08-29 08:21:10 +0200 |
| commit | 13cb492cd0ceda6e3f5dd7647ca6964309dd6cf8 (patch) | |
| tree | 70cc3f4fc7709db0238993e8adf68924edf3e39f /tools/perf/scripts/python/check-perf-trace.py | |
| parent | af450ebb500ad2ba6f0bc85e3af315c3ea9a4efb (diff) | |
staging: typec: tcpm: Consider port_type while determining unattached_state
While performing PORT_RESET, upon receiving the cc disconnect
signal from the underlaying tcpc device, TCPM transitions into
unattached state. Consider the current type of port while determining
the unattached state.
In the below logs, although the port_type was set to sink, TCPM
transitioned into SRC_UNATTACHED.
[ 762.290654] state change SRC_READY -> PORT_RESET
[ 762.324531] Setting voltage/current limit 0 mV 0 mA
[ 762.327912] polarity 0
[ 762.334864] cc:=0
[ 762.347193] pending state change PORT_RESET -> PORT_RESET_WAIT_OFF @ 100 ms
[ 762.347200] VBUS off
[ 762.347203] CC1: 2 -> 0, CC2: 0 -> 0 [state PORT_RESET, polarity 0, disconnected]
[ 762.347206] state change PORT_RESET -> SRC_UNATTACHED
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions