Skip to content
Commit 177360e0 authored by Tomasz Moń's avatar Tomasz Moń Committed by Vinod Koul
Browse files

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: default avatarTomasz Moń <tomasz.mon@camlingroup.com>
Link: https://lore.kernel.org/r/20220117091955.1038937-2-tomasz.mon@camlingroup.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5b215c28
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