diff options
| author | Naveen Krishna Chatradhi <ch.naveen@samsung.com> | 2014-04-30 10:26:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-30 21:46:37 +0100 |
| commit | c780a8c2415b21514b0a8b5398d7167c93627c64 (patch) | |
| tree | bb6104c3453b9415d130668bb330d6bae3d7d991 /include/linux/debugobjects.h | |
| parent | 2bbc7247259f0d27c84b0e0746bd5e9831e39c36 (diff) | |
iio: exynos_adc: reduce timeout and use wait_for_completion_timeout
ADC module on Exynos5 SoCs runs at 600KSPS. At this conversion rate,
waiting for 1000 msecs is wasteful (incase of h/w failure).
Hence, reduce the time out to 100msecs and use
wait_for_completion_timeout() instead of
wait_for_completion_interruptible_timeout()
Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
