Skip to content
Commit c0fca736 authored by Lubomir Rintel's avatar Lubomir Rintel Committed by Vinod Koul
Browse files

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: default avatarLubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200424215020.105281-1-lkundrak@v3.sk


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 7edfe3df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment