From c5db36f4b94d17cbbc29455f58466010e9d16d14 Mon Sep 17 00:00:00 2001 From: songyanguang <345810377@qq.com> Date: Thu, 4 Jul 2024 11:28:28 +0800 Subject: [PATCH] enable DSB --- .../services/drivers/usb/components/port/xhci/xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c index 527cdf2c1..75354f2db 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/xhci.c @@ -1456,7 +1456,7 @@ int xhci_event_wait(struct xhci_host *xhci, * @v value Value send to doorbell */ static inline void xhci_doorbell ( struct xhci_host *xhci, uint32_t slotid, uint32_t value ) { -// DSB(); + DSB(); BARRIER(); writel ( value, xhci->db + slotid * XHCI_REG_DB_SIZE ); /* bit[7:0] db target, is ep_id */ } @@ -2702,4 +2702,4 @@ void xhci_event_process(struct xhci_host *xhci) { } return; -} \ No newline at end of file +}