summaryrefslogtreecommitdiff
path: root/drivers/dma-buf
diff options
context:
space:
mode:
authorSanket Parmar <sparmar@cadence.com>2021-03-09 08:19:39 +0300
committerPeter Chen <peter.chen@kernel.org>2021-04-12 15:19:22 +0300
commitb9b1eae761eeae665824ca6ef7f91da4fc798ebb (patch)
treee234444962cfcefdaabd241bc44ee682e45c00a3 /drivers/dma-buf
parent575dd7ece61fa93270cb5749708b140a9c9cf947 (diff)
downloadlinux-b9b1eae761eeae665824ca6ef7f91da4fc798ebb.tar.xz
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: Aswath Govindraju <a-govindraju@ti.com> Signed-off-by: Sanket Parmar <sparmar@cadence.com> Signed-off-by: Peter Chen <peter.chen@kernel.org>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions