Commit 5fb5ca1d authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Will McVicker
Browse files

ANDROID: usb: typec: tcpci: Check for port_type while returning cc status



FUSB307b incorrectly sets cc_termination when sink-only
mode is enforced. port_type reflects whether sink-only
mode is enforced. This is used to WAR the incorrect
rp_term while querying cc_status in sink only mode.

Bug: 156925450
Signed-off-by: default avatarBadhri Jagan Sridharan <badhri@google.com>
Change-Id: Ieec4ae33a538080dadc874917b87e91250bdcf64
(cherry picked from commit 3c6b750b475e703372d053138e994fa34aba5279)
(cherry picked from commit b0087bb234966769f6fb657267e0f943e05affa7)
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
parent a196c09b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment