linux-stable/drivers/staging/typec
Badhri Jagan Sridharan 8bf05746cf 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>
2017-08-18 15:57:17 -07:00
..
fusb302 staging: fusb302: don't bitshift __le16 type 2017-06-23 18:47:59 +02:00
Kconfig staging: typec: Fairchild FUSB302 Type-c chip driver 2017-04-28 11:29:00 +02:00
Makefile staging: typec: Fairchild FUSB302 Type-c chip driver 2017-04-28 11:29:00 +02:00
pd.h staging: typec: tcpm: Drop duplicate PD messages 2017-05-15 11:23:55 +02:00
pd_bdo.h
pd_vdo.h staging: typec: tcpm: Respond to Discover Identity commands 2017-05-15 11:23:56 +02:00
tcpci.c staging: typec: tcpci: declare private structure as static 2017-05-15 11:23:55 +02:00
tcpci.h
tcpm.c staging: typec: tcpm: explicit_contract is always established 2017-08-18 15:57:17 -07:00
tcpm.h staging: typec: tcpm: Add timeout when waiting for role swap completion 2017-08-18 15:57:16 -07:00
TODO