iio: exynos_adc: do a soft reset in case of timeout
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:15 +0000 (21:47 +0100)
commitdd2723f57e3cd8f104884636e92492b884080d59
treeecbb0f69cbe3f03fd293660f7a46a8e5ff732a6e
parentc780a8c2415b21514b0a8b5398d7167c93627c64
iio: exynos_adc: do a soft reset in case of timeout

Do a soft reset software if a timeout happens.
This is applicable only for ADC_V2.

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