spi: Lock controller idling transition inside the io_mutex
authorDavid Jander <david@protonic.nl>
Tue, 21 Jun 2022 06:12:26 +0000 (08:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:27:18 +0000 (13:27 +0100)
commitc1038165fbbf83967f29b3bb38872faa780b3a72
tree27591b5a303f80a5722d104639f72a27d447ec38
parentae7d2346dc89ae89a6e0aabe6037591a11e593c0
spi: Lock controller idling transition inside the io_mutex

This way, the spi sync path does not need to deal with the idling
transition.

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