diff options
author | Lubomir Rintel <[email protected]> | 2018-11-13 11:22:24 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2018-11-13 10:01:23 -0800 |
commit | 810923f3bf06c11022b7bb370dd3130a956a222e (patch) | |
tree | 103a361a9aefe049a5c3c8bbdadf2d6dbe6407eb /tools/perf/scripts/python | |
parent | aa66478aa538f839a96c836bba0bbc12ef2666f0 (diff) |
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 <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions