diff options
| author | Xu Yang <xu.yang_2@nxp.com> | 2024-12-11 13:57:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-23 20:40:46 +0300 |
| commit | 8534229375f8cc4422039fbad74c4ca01ef2f651 (patch) | |
| tree | 853ec4d1dea385daef394577a66c72bf91b0715f /scripts/checkstack.pl | |
| parent | c975c9b8f8204c34213e9a6821f597bbda021f8e (diff) | |
| download | linux-8534229375f8cc4422039fbad74c4ca01ef2f651.tar.xz | |
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 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
