aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2020-08-10 09:12:36 +0200
committerMark Brown <broonie@kernel.org>2020-08-10 19:46:43 +0100
commit9cc61973bf9385b19ff5dda4a2a7e265fcba85e4 (patch)
treefa182a40d677509123a611bf0c2ece2aefb4d313 /lib/mpi/mpi-cmp.c
parent3373e9004acc0603242622b4378c64bc01d21b5f (diff)
spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
Fix spi->clk_rate when it is odd to the nearest lowest even value because minimum SPI divider is 2. 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-4-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