summaryrefslogtreecommitdiff
path: root/lib/ioremap.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2018-11-13 13:22:24 +0300
committerMark Brown <broonie@kernel.org>2018-11-13 21:01:23 +0300
commit810923f3bf06c11022b7bb370dd3130a956a222e (patch)
tree103a361a9aefe049a5c3c8bbdadf2d6dbe6407eb /lib/ioremap.c
parentaa66478aa538f839a96c836bba0bbc12ef2666f0 (diff)
downloadlinux-810923f3bf06c11022b7bb370dd3130a956a222e.tar.xz
spi: Deal with slaves that return from transfer_one() unfinished
Some drivers, such as spi-pxa2xx return from the transfer_one callback immediately, idicating that the transfer will be finished asynchronously. Normally, spi_transfer_one_message() synchronously waits for the transfer to finish with wait_for_completion_timeout(). For slaves, we don't want the transaction to time out as it can complete in a long time in future. Use wait_for_completion_interruptible() instead. Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Acked-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions