]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stm32_mdma: activate pack/unpack feature
authorPierre-Yves MORDRET <pierre-yves.mordret@st.com>
Tue, 17 Oct 2017 13:43:47 +0000 (15:43 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 8 Nov 2017 05:19:53 +0000 (10:49 +0530)
commit5fd05bd2964c911f933d243bf8fa7908c3832d0a
treea63b838be14031715cdfc95ddfbb9456dc2fce10
parent15fb3a1a12d9c6239ca8bbe4a01650ff3d6aba18
dmaengine: stm32_mdma: activate pack/unpack feature

If source and destination bus width differs pack/unpack MDMA
feature has to be activated for alignment.
This pack/unpack feature implies to have both source/destination address
and buffer length aligned on bus width.

Fixes: b1dad19a9f11 ("dmaengine: Add STM32 MDMA driver")
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/stm32-mdma.c