spi: Remove check for controller idling in spi sync path
authorDavid Jander <david@protonic.nl>
Tue, 21 Jun 2022 06:12:28 +0000 (08:12 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 27 Jun 2022 12:27:20 +0000 (13:27 +0100)
commitd5256cce1f50ff4c8fad6b8eb7b4ec9e47d38925
treeedc40e199565519fd5c008f77e7b0b6ac7efa1b9
parent8711a2ab51dd47b2bcb3880403add25dd7fc7c13
spi: Remove check for controller idling in spi sync path

Now that the idling flag is wholly behind the io_mutex, this broken piece
of code can be safely removed.

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