spi: Remove unneeded READ_ONCE for ctlr->busy flag

Now this flag is written entirely in the mutex, so no need for READ_ONCE

Signed-off-by: David Jander <david@protonic.nl>
Link: https://lore.kernel.org/r/20220621061234.3626638-9-david@protonic.nl
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
David Jander 2022-06-21 08:12:31 +02:00 committed by Mark Brown
parent 66a221593c
commit 1a9cafcb57
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -3955,7 +3955,7 @@ static void __spi_transfer_message_noqueue(struct spi_controller *ctlr, struct s
mutex_lock(&ctlr->io_mutex);
was_busy = READ_ONCE(ctlr->busy);
was_busy = ctlr->busy;
ret = __spi_pump_transfer_message(ctlr, msg, was_busy);
if (ret)