Searched hist:"177360 e04b70b1d3937471e42201cdbb831a82da" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/dma/ |
H A D | imx-sdma.c | diff 177360e04b70b1d3937471e42201cdbb831a82da Mon Jan 17 10:19:55 CET 2022 Tomasz Moń <tomasz.mon@camlingroup.com> dmaengine: imx-sdma: fix cyclic buffer race condition
Assign buffer ownership to SDMA after invoking descriptor callback to make sure that SDMA does not write to the buffer before it is read by the CPU.
Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com> Link: https://lore.kernel.org/r/20220117091955.1038937-2-tomasz.mon@camlingroup.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
|