diff options
Diffstat (limited to 'common/usbc/usb_pe_drp_sm.c')
-rw-r--r-- | common/usbc/usb_pe_drp_sm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/usbc/usb_pe_drp_sm.c b/common/usbc/usb_pe_drp_sm.c index e0a364240b..7661e8b2ec 100644 --- a/common/usbc/usb_pe_drp_sm.c +++ b/common/usbc/usb_pe_drp_sm.c @@ -1352,6 +1352,9 @@ static void pe_handle_detach(void) /* Reset port events */ pd_clear_events(port, GENMASK(31, 0)); + /* But then set disconnected event */ + pd_notify_event(port, PD_STATUS_EVENT_DISCONNECTED); + /* Tell Policy Engine to invalidate the explicit contract */ pe_invalidate_explicit_contract(port); |