]> 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)
commite692fb7af0ee9db4cf5daa06bcea2ac70e247eca
treea63b838be14031715cdfc95ddfbb9456dc2fce10
parentc4c4e021bd5956c0d518f46bfb9289867cf7bf76
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: 79efdd35debf ("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