Skip to content
Unverified Commit b9b1eae7 authored by Sanket Parmar's avatar Sanket Parmar Committed by Peter Chen
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.

Reported-by: default avatarAswath Govindraju <a-govindraju@ti.com>
Signed-off-by: default avatarSanket Parmar <sparmar@cadence.com>
Signed-off-by: default avatarPeter Chen <peter.chen@kernel.org>
parent 575dd7ec
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