Files
linux-st/include/linux
Leonard Göhrs cc34296e03 spi: core: add spi_split_transfers_maxwords
Add spi_split_transfers_maxwords() function that splits
spi_transfers transparently into multiple transfers
that are below a given number of SPI words.

This function reuses most of its code from
spi_split_transfers_maxsize() and for transfers with
eight or less bits per word actually behaves the same.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Link: https://lore.kernel.org/r/20230310092053.1006459-1-l.goehrs@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit 027781f3920ad16f40133890fc87247b8baa2d8d)
Change-Id: I5b1702f32d655d806d219ed883fef237a46f8e3f
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/296113
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
ACI: CIBUILD <MDG-smet-aci-builds@list.st.com>
Tested-by: Alain VOLMAT <alain.volmat@foss.st.com>
Reviewed-by: Alain VOLMAT <alain.volmat@foss.st.com>
Reviewed-by: Amelie DELAUNAY <amelie.delaunay@foss.st.com>
Domain-Review: Amelie DELAUNAY <amelie.delaunay@foss.st.com>
2023-06-16 11:56:16 +02:00
..
2023-02-22 12:59:54 +01:00
2023-03-17 08:50:31 +01:00
2023-06-16 11:56:16 +02:00