enable DSB

This commit is contained in:
songyanguang 2024-07-04 11:28:28 +08:00
parent 114ff07759
commit c5db36f4b9
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}