spi: Move ctlr->cur_msg_prepared to struct spi_message
authorDavid Jander <david@protonic.nl>
Tue, 21 Jun 2022 06:12:24 +0000 (08:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:27:16 +0000 (13:27 +0100)
commit1714582a3a087eda8786d5a1b32b2ec86ca8a303
tree0d8faca526aa19d37bbf338dc5174258a94cc993
parent40308f9642a85c30fa7cc5ab8672020cb96ecb66
spi: Move ctlr->cur_msg_prepared to struct spi_message

This enables the possibility to transfer a message that is not at the
current tip of the async message queue.
This is in preparation of the next patch(es) which enable spi_sync messages
to skip the queue altogether.

Signed-off-by: David Jander <david@protonic.nl>
Link: https://lore.kernel.org/r/20220621061234.3626638-2-david@protonic.nl
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h