spi: Go back to immediate teardown
authorMark Brown <broonie@kernel.org>
Wed, 23 Jan 2019 17:29:53 +0000 (17:29 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 23 Jan 2019 17:29:53 +0000 (17:29 +0000)
commitf0125f1a559be1033055f44e511174aaa75b60cc
tree83d67533a010578ce2bc018302fc5ec2e291c9a4
parent51eea52d26d4939b788b7244c28cf47e902b4c4c
spi: Go back to immediate teardown

Commit 412e6037324 ("spi: core: avoid waking pump thread from spi_sync
instead run teardown delayed") introduced regressions on some boards,
apparently connected to spi_mem not triggering shutdown properly any
more.  Since we've thus far been unable to figure out exactly where the
breakage is revert the optimisation for now.

Reported-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: kernel@martin.sperl.org
drivers/spi/spi.c
include/linux/spi/spi.h