summaryrefslogtreecommitdiffstats
path: root/payloads/libpayload/drivers/usb/ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/drivers/usb/ehci.c')
-rw-r--r--payloads/libpayload/drivers/usb/ehci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/usb/ehci.c b/payloads/libpayload/drivers/usb/ehci.c
index 6bb23f558694..aa7ea3b9806e 100644
--- a/payloads/libpayload/drivers/usb/ehci.c
+++ b/payloads/libpayload/drivers/usb/ehci.c
@@ -643,7 +643,8 @@ static void *ehci_create_intr_queue(
return NULL;
}
- intr_queue_t *const intrq = (intr_queue_t *)malloc(sizeof(intr_queue_t));
+ intr_queue_t *const intrq = (intr_queue_t *)dma_memalign(64,
+ sizeof(intr_queue_t));
/*
* reqcount data chunks
* plus one more spare, which we'll leave out of queue