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
parent
84a0449c10
commit
e56e789e1f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue