]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: stm32-dma: Improve memory burst management
authorPierre Yves MORDRET <pierre-yves.mordret@st.com>
Tue, 13 Mar 2018 16:42:02 +0000 (17:42 +0100)
committerVinod Koul <vinod.koul@intel.com>
Wed, 4 Apr 2018 06:19:36 +0000 (11:49 +0530)
commitd90874fe31daea74c2ca976f7c0bb85d509a0a34
tree6dc93494f544da96bfc23eee3efeccac9909f806
parent1736138a28e92702a375744ab1220b7ba4f6d01d
dmaengine: stm32-dma: Improve memory burst management

This patch improves memory burst capability using best burst size
according to transferred buffer size from/to memory.

>From now on, memory burst is not necessarily same as with peripheral
burst one and fifo threshold is directly managed by this driver in order
to fit with computed memory burst.

Signed-off-by: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/stm32-dma.c