]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd262990b4b4c09cf538943c86bc7300cc81643d
tree27591b5a303f80a5722d104639f72a27d447ec38
parente4b5bfd339529d0133037d8b207648627bdd01b3
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