summaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorPierre Yves MORDRET <pierre-yves.mordret@st.com>2018-03-13 17:42:04 +0100
committerVinod Koul <vinod.koul@intel.com>2018-04-04 11:49:36 +0530
commit80a76952a5a5d2914a5c04d6f3a151348e5580a5 (patch)
tree534c4b3597004503d28f1c191eaddf617ed123ae /drivers/extcon
parentc2d86b1cd64c5db8948119761008ff337c688d96 (diff)
downloadlinux-80a76952a5a5d2914a5c04d6f3a151348e5580a5.tar.gz
linux-80a76952a5a5d2914a5c04d6f3a151348e5580a5.tar.bz2
linux-80a76952a5a5d2914a5c04d6f3a151348e5580a5.zip
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>
Diffstat (limited to 'drivers/extcon')
0 files changed, 0 insertions, 0 deletions