spi: spi-omap2-mcspi.c: revert "Toggle CS after each word"
authorLouis Chauvet <louis.chauvet@bootlin.com>
Wed, 27 Mar 2024 08:43:36 +0000 (09:43 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 28 Mar 2024 15:52:31 +0000 (15:52 +0000)
commit67bb37c05a6b56e0e1f804706145a52f655af3f1
tree6db222c9d0c7e86db6f46c0d7c8b34a2bc344c1d
parentd5449432f794e75cd4f5e46bc33bfe6ce20b657d
spi: spi-omap2-mcspi.c: revert "Toggle CS after each word"

Commit 5cbc7ca987fb ("spi: spi-omap2-mcspi.c: Toggle CS after each
word") introduced the toggling of CS after each word for the omap2-mcspi
controller.

The implementation is not respectful of the actual spi_message
content, so the CS can be raised after each word even if the
transfer structure asks to keep the CS active for the whole operation.

As it is not used anyway in the current Linux tree, it can be safely
removed.

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