spi: stm32: Revert "properly handle 0 byte transfer"
authorAlain Volmat <alain.volmat@foss.st.com>
Wed, 7 Jul 2021 08:27:03 +0000 (10:27 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:51:40 +0000 (23:51 +0100)
commit70526e0b7601792bf546044fff92c368112f1d3f
treec1c51fed1a40988dc9dd4dfa430b23826b2cdd5b
parent9d5354145104cf392568a948c5ce2cb97f373fd7
spi: stm32: Revert "properly handle 0 byte transfer"

0 byte transfer handling is now done within the core in code added
by commit b306320322c9 ("spi: Skip zero-length transfers in spi_transfer_one_message()")

This reverts commit 2269f5a8b1a7 ("spi: stm32: properly handle 0 byte transfer")

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1625646426-5826-5-git-send-email-alain.volmat@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c