From a854fc28ba6968d54a95ab5e207c3545df451b61 Mon Sep 17 00:00:00 2001 From: xj Date: Thu, 12 Sep 2024 19:58:07 -0700 Subject: [PATCH] DWC3 event buffer functions --- .../XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.c index ebcc8c518..c56c6cdd5 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/dwc3/dwc3.c @@ -430,6 +430,8 @@ struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, unsigned } evt->dma = phy_addr; + + return evt; err_evt: usb_free(evt);