MLK-16013-35 staging: typec: Move to SRC_ATTACHED if condition is met
authorLi Jun <jun.li@nxp.com>
Fri, 28 Jul 2017 10:01:06 +0000 (18:01 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:21 +0000 (15:36 -0500)
commitdae56a931a44b3542b83ec672be02563f3bff3d1
treee04c127de58795c6ffe20efce64079d627629618
parent6c1dd98a05219cac01665df9aa9b0e339ad9f7fe
MLK-16013-35 staging: typec: Move to SRC_ATTACHED if condition is met

If the other end is trying to be a sink and not driving vbus, we should
move to SRC_ATTACHED directly.

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