commit | 80a76952a5a5d2914a5c04d6f3a151348e5580a5 | [log] [tgz] |
---|---|---|
author | Pierre Yves MORDRET <pierre-yves.mordret@st.com> | Tue Mar 13 17:42:04 2018 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Wed Apr 04 11:49:36 2018 +0530 |
tree | 534c4b3597004503d28f1c191eaddf617ed123ae | |
parent | c2d86b1cd64c5db8948119761008ff337c688d96 [diff] |
dmaengine: stm32-dma: fix max items per transfer Having 0 in item counter register is valid and stands for a "No or Ended transfer". Therefore valid transfer starts from @+0 to @+0xFFFE leading to unaligned scatter gather at boundary. Thus it's safer to round down this value on its FIFO size (16 Bytes). Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>