diff options
author | 2024-12-11 18:57:53 +0800 | |
---|---|---|
committer | 2024-12-23 18:40:46 +0100 | |
commit | 8534229375f8cc4422039fbad74c4ca01ef2f651 (patch) | |
tree | 853ec4d1dea385daef394577a66c72bf91b0715f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | USB: usblp: remove redundant semicolon (diff) | |
download | wireguard-linux-8534229375f8cc4422039fbad74c4ca01ef2f651.tar.xz wireguard-linux-8534229375f8cc4422039fbad74c4ca01ef2f651.zip |
usb: typec: tcpci: set local CC to Rd only when cc1/cc2 status is Rp
The cc1 and cc2 status returned by tcpci_get_cc() may be TYPEC_CC_OPEN
or TYPEC_CC_RA. So don't assume it's just TYPEC_CC_RD or TYPEC_CC_RP_*.
This will let local port present Rd on CC only when cc1/cc2 status is
TYPEC_CC_RP_*.
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20241211105753.1205312-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