aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <badhri@google.com>2017-08-17 12:11:21 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-18 15:57:17 -0700
commit8bf05746cffa34aab3e13e0f1c4c44d3e9cd395b (patch)
tree86134e700acca1e494a34c5845109c22902abc62 /scripts/gdb/linux/utils.py
parentefd44cf468fe7e7ff9150dc52879426e0d0801eb (diff)
staging: typec: tcpm: explicit_contract is always established
While in SNK_READY state, the explicit_contract seems to be set to true irrespective of whether an explicit contract was established for the current connection. TCPM also seems to report the pwr_opmode as TYPEC_PWR_MODE_PD always once the port gets into SNK_READY state. This isn't completely true as port gets into the SNK_READY state for non-pd type-c ports as well. This patch sets the explicit_contract flag only when the PS_READY message is received and the vbus has been detected by the port controller. Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions