Re: [PATCH v6] iio: exynos_adc: use wait_for_completion_timeout instead of interruptible

2013-11-10 Thread Tomasz Figa
Hi Naveen, On Tuesday 05 of November 2013 15:15:30 Naveen Krishna Chatradhi wrote: > 1. The irq routine is so simple (just one register read) shouldn't be > long Hence, reduce the timeout to 100milli secs, I believe that the timeout value depends mostly on maximum conversion time and interrupt h

[PATCH v6] iio: exynos_adc: use wait_for_completion_timeout instead of interruptible

2013-11-05 Thread Naveen Krishna Chatradhi
1. The irq routine is so simple (just one register read) shouldn't be long Hence, reduce the timeout to 100milli secs, 2. With 100ms of wait time, interruptible is very much unnecessary. Hence, use wait_for_completion_timeout instead of wait_for_completion_interruptible_timeout 3. Reset so