summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorStefan Popa <stefan.popa@analog.com>2018-12-13 14:46:15 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-12-22 16:58:12 +0000
commit557e585c3fdba1f6cddb4516a82da53b52fd9963 (patch)
treecd461b82cbfa0a383913f8e33e6d0076ac1aa1a4 /tools/perf/scripts/python/export-to-postgresql.py
parent4535fa0576d2bb14060a7e80a710382414a93558 (diff)
downloadlinux-557e585c3fdba1f6cddb4516a82da53b52fd9963.tar.gz
linux-557e585c3fdba1f6cddb4516a82da53b52fd9963.zip
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 <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions