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)
commitd83f4131c2e06ef93cd3d6d44bb3475728790ab6
treea63b838be14031715cdfc95ddfbb9456dc2fce10
parentf2fd4d9f323d8979fe77e673bb555199b531fa1a
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: a4ffb13c8946 ("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