MLK-16013-33 staging: typec: Do not switch to unattached state for BIST
authorLi Jun <jun.li@nxp.com>
Fri, 28 Jul 2017 09:37:25 +0000 (17:37 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:36:21 +0000 (15:36 -0500)
commitb6098e38d72f0d6361bed81404f31d124d33294f
tree0849791b4b3756703f77046daf1815b173ff57f2
parent79b7ca0c1f85396ce59450e9a17e177ec8e4ea66
MLK-16013-33 staging: typec: Do not switch to unattached state for BIST

If we received unsupported BIST command, we should by pass it and ready
to accept following command for test, not unconditionly to set the port
to be unattached state and terminate the test.

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