spi: omap2-mcpsi: Enable MULTI-mode in more situations
authorLouis Chauvet <louis.chauvet@bootlin.com>
Wed, 27 Mar 2024 08:43:38 +0000 (09:43 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 28 Mar 2024 15:52:33 +0000 (15:52 +0000)
commite64d3b6fc9a388d7dc516668651cf4404bffec9b
treee040ff2c9da166df23f1057329c893c803671f17
parentd153ff4056cb346fd6182a8a1bea6e12b714b64f
spi: omap2-mcpsi: Enable MULTI-mode in more situations

Enable multimode when a transfer of multiple small words can be
transformed in a transfer with a single bigger word. This is allowed as
long as the result on the cable is the same, so word_delay must be zero.

Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
Link: https://msgid.link/r/20240327-spi-omap2-mcspi-multi-mode-v3-3-c4ac329dd5a2@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-omap2-mcspi.c