MLK-16013-31 staging: typec: Set to unattached state if souce disconnected
authorLi Jun <jun.li@nxp.com>
Fri, 28 Jul 2017 09:19:13 +0000 (17:19 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:21 +0000 (15:36 -0500)
commit61871e3b8610e11d403e2f0fedcf39855809322c
tree5025d7267ce8f351b84cb8945cfc57029e9eb671
parent7f2cfe9465ece13a61d0e8be66dde0d6debeae81
MLK-16013-31 staging: typec: Set to unattached state if souce disconnected

In SNK_HARD_RESET_SINK_ON, if the source disconnected, we should set
state to be unattached state intead of startup sink.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
drivers/staging/typec/tcpm.c