git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bbc724
)
iio: exynos_adc: reduce timeout and use wait_for_completion_timeout
author
Naveen Krishna Chatradhi
<ch.naveen@samsung.com>
Wed, 30 Apr 2014 09:26:00 +0000
(10:26 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 30 Apr 2014 20:46:37 +0000
(21:46 +0100)
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>
drivers/iio/adc/exynos_adc.c
patch
|
blob
|
history
diff --cc
drivers/iio/adc/exynos_adc.c
Simple merge