aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorXu Yang <xu.yang_2@nxp.com>2023-08-20 23:15:18 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-23 11:12:26 +0200
commit2d6d80127006ae3da26b1f21a65eccf957f2d1e5 (patch)
tree2632f1debf54b12ea1186d0ae423b3f812ca013c /tools/perf/scripts/python/export-to-postgresql.py
parentusb: typec: tcpm: set initial svdm version based on pd revision (diff)
downloadwireguard-linux-2d6d80127006ae3da26b1f21a65eccf957f2d1e5.tar.xz
wireguard-linux-2d6d80127006ae3da26b1f21a65eccf957f2d1e5.zip
usb: typec: tcpm: reset counter when enter into unattached state after try role
The try_src_count and try_snk_count may still be 1 after enter into unattached state. This may be caused by below case: - SNK_TRY->SNK_TRY_WAIT->SRC_TRYWAIT->SNK_UNATTACHED - SRC_TRY->SRC_TRY_WAIT->SNK_TRYWAIT->SNK_UNATTACHED The port->attached is not true at the end and tcpm_reset_port() will not be called. This will reset counter into for these cases, otherwise the tcpm won't try role when new cable attached. Signed-off-by: Xu Yang <xu.yang_2@nxp.com> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20230820151518.1403006-1-xu.yang_2@nxp.com 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