spi: Increase imx51 ecspi burst length based on transfer length
authorStefan Moring <stefan.moring@technolution.nl>
Wed, 28 Jun 2023 12:54:06 +0000 (14:54 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:51:34 +0000 (22:51 +0100)
commit15a6af94a2779d5dfb42ee4bfac858ea8e964a3f
treedd987e67a77cc2ac57c7ef46ac972756b2f07c2a
parentfee681646fc831b154619ac0261afedcc7e671e7
spi: Increase imx51 ecspi burst length based on transfer length

IMX51 supports 4096 bit burst lengths. Using the spi transfer length
instead of bits_per_word increases performance significantly.

Signed-off-by: Stefan Moring <stefan.moring@technolution.nl>
Link: https://lore.kernel.org/r/20230628125406.237949-1-stefan.moring@technolution.nl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c