spi: Fix Raspberry Pi breakage
authorMark Brown <broonie@kernel.org>
Thu, 9 May 2019 02:27:17 +0000 (11:27 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 9 May 2019 02:27:17 +0000 (11:27 +0900)
commit0ed56252c9567351344cb7b5cff6140e1bcec943
tree822129b7aeb183e3d787f9c7e92b9b46d6958d95
parentd61ad23cb3be09ff4956e9b9794134456522817f
spi: Fix Raspberry Pi breakage

This reverts commit c9ba7a16d0f1 (Release spi_res after finalizing
message) which causes races during cleanup.

Reported-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c