diff options
| author | Stefan Popa <[email protected]> | 2018-12-13 14:46:15 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2018-12-22 16:58:12 +0000 |
| commit | 557e585c3fdba1f6cddb4516a82da53b52fd9963 (patch) | |
| tree | cd461b82cbfa0a383913f8e33e6d0076ac1aa1a4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4535fa0576d2bb14060a7e80a710382414a93558 (diff) | |
staging: iio: adc: ad7606: Use wait-for-completion handler
This patch replaces the use of wait_event_interruptible() with
wait_for_completion_timeout() when reading the result of a single
conversion. In this way, if the interrupt never occurs, the program will
not remain blocked.
Signed-off-by: Stefan Popa <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions