summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/inftlmount.c
diff options
context:
space:
mode:
authorTomasz Moń <tomasz.mon@camlingroup.com>2022-01-17 10:19:55 +0100
committerVinod Koul <vkoul@kernel.org>2022-02-15 11:11:06 +0530
commit177360e04b70b1d3937471e42201cdbb831a82da (patch)
treea36f93feae648f04e9995e5d4abff01e5cb2053e /drivers/mtd/inftlmount.c
parent5b215c28b923539a04587b6a3f78a449f967ae32 (diff)
downloadlinux-177360e04b70b1d3937471e42201cdbb831a82da.tar.bz2
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>
Diffstat (limited to 'drivers/mtd/inftlmount.c')
0 files changed, 0 insertions, 0 deletions