diff options
author | Mark Brown <broonie@kernel.org> | 2018-11-15 16:08:32 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-15 16:08:32 -0800 |
commit | d57e79601bc587f140a9bbb102493ad86f648ae0 (patch) | |
tree | 789d5a095ea43bf5633917bca6a878a89976f37b /drivers/spi/spi-pxa2xx.c | |
parent | 7986e2273c1ed987ff34f1c318d5a2b18e8c0fee (diff) | |
download | linux-d57e79601bc587f140a9bbb102493ad86f648ae0.tar.bz2 |
spi: Fix core transfer waits after slave support
The refactoring done as part of adding the core support for handling
waiting for slave transfer dropped a conditional which meant that we
started waiting for completion of all transfers, not just those that the
controller asked for. This caused hangs and massive delays on platforms
that don't need the core delay. Re-add the delay to fix this.
Fixes: 810923f3bf06c11 (spi: Deal with slaves that return from transfer_one() unfinished)
Reported-by: Tony Lindgren <tony@atomide.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-pxa2xx.c')
0 files changed, 0 insertions, 0 deletions