Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Jonathan Cameron
On Sun, 11 Nov 2018 23:00:18 +0800 Baolin Wang wrote: > Hi Jonathan, > > On 11 November 2018 at 20:40, Jonathan Cameron wrote: > > On Fri, 9 Nov 2018 11:25:31 +0800 > > Baolin Wang wrote: > > > >> From: Freeman Liu > >> > >> Sometimes the ADC controller met some problems, and it will not c

Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Baolin Wang
Hi Jonathan, On 11 November 2018 at 20:40, Jonathan Cameron wrote: > On Fri, 9 Nov 2018 11:25:31 +0800 > Baolin Wang wrote: > >> From: Freeman Liu >> >> Sometimes the ADC controller met some problems, and it will not complete >> the data conversion, that will can not wake up the read process a

Re: [PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-11 Thread Jonathan Cameron
On Fri, 9 Nov 2018 11:25:31 +0800 Baolin Wang wrote: > From: Freeman Liu > > Sometimes the ADC controller met some problems, and it will not complete > the data conversion, that will can not wake up the read process any more > to block users. So we should add one maximum conversion time to avo

[PATCH] iio: adc: sc27xx: Add ADC data conversion timeout

2018-11-08 Thread Baolin Wang
From: Freeman Liu Sometimes the ADC controller met some problems, and it will not complete the data conversion, that will can not wake up the read process any more to block users. So we should add one maximum conversion time to avoid this issue. Signed-off-by: Freeman Liu Signed-off-by: Baolin