iio: exynos_adc: do a reinit_completion before the conversion
authorNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Wed, 30 Apr 2014 09:26:00 +0000 (10:26 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 30 Apr 2014 20:47:47 +0000 (21:47 +0100)
commit6442d94ba19da5424d670f4a4523be45e1ee78d9
treebd3d66007664de4f3fe96a0cb8c6286218e6b40d
parentdd2723f57e3cd8f104884636e92492b884080d59
iio: exynos_adc: do a reinit_completion before the conversion

Add reinit_completion() before the wait_for_completion_timeout in
raw_read() call.

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