aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorBadhri Jagan Sridharan <[email protected]>2017-08-28 10:23:22 -0700
committerGreg Kroah-Hartman <[email protected]>2017-08-29 08:21:11 +0200
commit56277035c294ec4877aabc97febcf55a2b3ef397 (patch)
tree5f464bf7ea1dd05284bce0f3991f3942e277af4d /lib/netdev-notifier-error-inject.c
parentf451ac9e4c6dd2c9ee5397a28a60084fc77f63d7 (diff)
staging: typec: tcpm: Switch to PORT_RESET instead of SNK_UNATTACHED
When VBUS is not discovered within PD_T_PS_SOURCE_ON although Rp is detected on CC, TCPM switches the port to SNK_UNATTACHED state. SNK_UNATTACHED, however does not force TYPEC_CC_OPEN which makes the partner(source) to think that it is connected. To overcome this issue, force the port into PORT_RESET state to make sure the CC lines are open. Signed-off-by: Badhri Jagan Sridharan <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions