1
0
Fork 0

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>
pull/10/head
Li Jun 2017-07-28 17:37:25 +08:00 committed by Jason Liu
parent 84a0449c10
commit e56e789e1f
1 changed files with 0 additions and 2 deletions

View File

@ -2883,8 +2883,6 @@ static void run_state_machine(struct tcpm_port *port)
default:
break;
}
/* Always switch to unattached state */
tcpm_set_state(port, unattached_state(port), 0);
break;
case ERROR_RECOVERY:
tcpm_swap_complete(port, -EPROTO);