Commit 6d955c6b authored by Kyle Tso's avatar Kyle Tso Committed by Will McVicker
Browse files

ANDROID: usb: typec: tcpm: Notify TCPC when usb_comm_capable is set



Cherry-pick of <4c023575d40e37f7ce6fdca3dd10648a5456fe23>

If HVDCP_TIMEOUT is skipped in smb-lib, PD state machine will start
before APSD finishes. If device is UFP and PD port partner supports USB
data capability, device will not start USB controller because the
charger type is unknown. To fix this, notify TCPC of the USB capability
of the port partner. TCPC will start USB controller regardless of the
charger type if usb_comm_capable is set.

Bug: 158509499
Change-Id: Ieb0c31ad1e5a012cdac17e221dceaa50b6e7de74
Signed-off-by: default avatarKyle Tso <kyletso@google.com>
Signed-off-by: default avatarBadhri Jagan Sridharan <badhri@google.com>
(cherry picked from commit 95a81992da27e2f2c101eaab97063730f9b7455c)
(cherry picked from commit 94c0b1549f9e9283b331c4e45b46bd1b8d85e74b)
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
parent 354f427c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment