diff --git a/drivers/staging/typec/tcpm.c b/drivers/staging/typec/tcpm.c index c52b336233041f92232ceca8f87b07158705a95e..eb113399f2abc39306681f89f4464cf6bcf6fbcd 100644 --- a/drivers/staging/typec/tcpm.c +++ b/drivers/staging/typec/tcpm.c @@ -3037,10 +3037,7 @@ static void _tcpm_pd_vbus_off(struct tcpm_port *port) break; case ERROR_RECOVERY_WAIT_OFF: - tcpm_set_state(port, - port->pwr_role == TYPEC_SOURCE ? - SRC_UNATTACHED : SNK_UNATTACHED, - 0); + tcpm_set_state(port, tcpm_default_state(port), 0); break; default: