summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl_raid.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-04-24 23:50:20 +0200
committerVinod Koul <vkoul@kernel.org>2020-04-27 18:03:14 +0200
commitc0fca736098cbd5dce27640e625b20c67d5f99f1 (patch)
treec22ffb907cec1cab1b82238d61e8770536940e58 /drivers/dma/fsl_raid.c
parentdmaengine: dw-edma: Check MSI descriptor before copying (diff)
downloadlinux-c0fca736098cbd5dce27640e625b20c67d5f99f1.tar.xz
linux-c0fca736098cbd5dce27640e625b20c67d5f99f1.zip
dmaengine: mmp_tdma: Validate the transfer direction
We only support DMA_DEV_TO_MEM and DMA_MEM_TO_DEV. Let's not do undefined things with other values and reject them. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Link: https://lore.kernel.org/r/20200424215020.105281-1-lkundrak@v3.sk Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl_raid.c')
0 files changed, 0 insertions, 0 deletions