Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 9295bc9d authored by Sanket Parmar's avatar Sanket Parmar Committed by Vignesh Raghavendra
Browse files

usb: cdns3: Use dma_pool_* api to alloc trb pool

Allocation of DMA coherent memory in atomic context using
dma_alloc_coherent() might fail on platforms with smaller
DMA region.

To fix it, dma_alloc_coherent() is replaced with dma_pool
API to allocate a smaller chunk of DMA coherent memory for
TRB rings.

Fixes: 7733f6c3

 ("usb: cdns3: Add Cadence USB3 DRD Driver")
Signed-off-by: default avatarSanket Parmar <sparmar@cadence.com>
Signed-off-by: default avatarAswath Govindraju <a-govindraju@ti.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent dc92456e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment