summaryrefslogtreecommitdiff
path: root/common/usb_pd_tcpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usb_pd_tcpc.c')
-rw-r--r--common/usb_pd_tcpc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usb_pd_tcpc.c b/common/usb_pd_tcpc.c
index 0b13fb2c77..5ca80bb147 100644
--- a/common/usb_pd_tcpc.c
+++ b/common/usb_pd_tcpc.c
@@ -799,6 +799,7 @@ int tcpc_run(int port, int evt)
res = send_hard_reset(port);
break;
default:
+ res = PD_TX_ERR_DISABLED;
break;
}