diff options
Diffstat (limited to 'common/usb_pd_protocol.c')
-rw-r--r-- | common/usb_pd_protocol.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/usb_pd_protocol.c b/common/usb_pd_protocol.c index b2ece4ac08..b661dd5c42 100644 --- a/common/usb_pd_protocol.c +++ b/common/usb_pd_protocol.c @@ -4675,6 +4675,12 @@ void pd_handle_overcurrent(int port) atomic_or(&port_oc_reset_req, (1 << port)); hook_call_deferred(&re_enable_ports_data, SECOND); } + +void pd_handle_cc_overvoltage(int port) +{ + pd_send_hard_reset(port); +} + #endif /* defined(CONFIG_USBC_PPC) */ static int command_pd(int argc, char **argv) |