-
Sanket Parmar authored
dma_alloc_coherent() might fail on the platform with a small DMA region. To avoid such failure in cdns3_prepare_aligned_request_buf(), dma_alloc_coherent() is replaced with dma_alloc_noncoherent() to allocate aligned request buffer of dynamic length. 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>
Sanket Parmar authoreddma_alloc_coherent() might fail on the platform with a small DMA region. To avoid such failure in cdns3_prepare_aligned_request_buf(), dma_alloc_coherent() is replaced with dma_alloc_noncoherent() to allocate aligned request buffer of dynamic length. 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>
Loading