aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-08-10 09:12:35 +0200
committerMark Brown <broonie@kernel.org>2020-08-10 19:46:42 +0100
commit3373e9004acc0603242622b4378c64bc01d21b5f (patch)
tree0840a97cb9d9d7944eee55246c836b40a98243b5 /lib/mpi/mpi-cmp.c
parent135dd873d3c76d812ae64c668adef3f2c59ed27f (diff)
spi: stm32: fix fifo threshold level in case of short transfer
When transfer is shorter than half of the fifo, set the data packet size up to transfer size instead of up to half of the fifo. Check also that threshold is set at least to 1 data frame. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Signed-off-by: Alain Volmat <alain.volmat@st.com> Link: https://lore.kernel.org/r/1597043558-29668-3-git-send-email-alain.volmat@st.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions