Leonard Göhrs 715dc9a1f0
spi: stm32: fix accidential revert to byte-sized transfer splitting
Commit 6f486556abe35 ("spi: stm32: renaming of spi_master into
spi_controller") included an accidential reverted of a change added in
commit 1e4929112507f ("spi: stm32: split large transfers based on word
size instead of bytes").

This breaks large SPI transfers with word sizes > 8 bits, which are
e.g. common when driving MIPI DBI displays.

Fix this by using `spi_split_transfers_maxwords()` instead of
`spi_split_transfers_maxsize()`.

Fixes: 6f486556abe35 ("spi: stm32: renaming of spi_master into spi_controller")
Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Link: https://lore.kernel.org/r/20230816145237.3159817-1-l.goehrs@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-08-21 13:09:56 +01:00
..
2023-07-03 13:04:53 +01:00
2023-06-23 11:04:20 +01:00
2023-06-28 13:48:42 -07:00
2023-05-30 18:38:18 +01:00
2023-06-28 13:48:42 -07:00
2023-07-06 19:24:11 -07:00
2023-05-30 18:38:18 +01:00
2023-04-27 11:02:26 -07:00
2023-04-27 12:07:50 -07:00
2023-06-28 13:48:42 -07:00