Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-26 Thread Fabrice Gasnier
On 11/25/18 2:14 PM, Jonathan Cameron wrote: > On Sun, 25 Nov 2018 13:03:39 + > Jonathan Cameron wrote: > >> On Tue, 20 Nov 2018 11:12:30 +0100 >> Fabrice Gasnier wrote: >> >>> Move self-calibration routine to prepare routine. >>> - This is precursor patch to ease power management handling.

Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-26 Thread Fabrice Gasnier
On 11/25/18 2:14 PM, Jonathan Cameron wrote: > On Sun, 25 Nov 2018 13:03:39 + > Jonathan Cameron wrote: > >> On Tue, 20 Nov 2018 11:12:30 +0100 >> Fabrice Gasnier wrote: >> >>> Move self-calibration routine to prepare routine. >>> - This is precursor patch to ease power management handling.

Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-25 Thread Jonathan Cameron
On Sun, 25 Nov 2018 13:03:39 + Jonathan Cameron wrote: > On Tue, 20 Nov 2018 11:12:30 +0100 > Fabrice Gasnier wrote: > > > Move self-calibration routine to prepare routine. > > - This is precursor patch to ease power management handling. > > - This also allow to factorize few error cases

Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-25 Thread Jonathan Cameron
On Sun, 25 Nov 2018 13:03:39 + Jonathan Cameron wrote: > On Tue, 20 Nov 2018 11:12:30 +0100 > Fabrice Gasnier wrote: > > > Move self-calibration routine to prepare routine. > > - This is precursor patch to ease power management handling. > > - This also allow to factorize few error cases

Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-25 Thread Jonathan Cameron
On Tue, 20 Nov 2018 11:12:30 +0100 Fabrice Gasnier wrote: > Move self-calibration routine to prepare routine. > - This is precursor patch to ease power management handling. > - This also allow to factorize few error cases (error handling). > > Signed-off-by: Fabrice Gasnier one trivial point

Re: [PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-25 Thread Jonathan Cameron
On Tue, 20 Nov 2018 11:12:30 +0100 Fabrice Gasnier wrote: > Move self-calibration routine to prepare routine. > - This is precursor patch to ease power management handling. > - This also allow to factorize few error cases (error handling). > > Signed-off-by: Fabrice Gasnier one trivial point

[PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-20 Thread Fabrice Gasnier
Move self-calibration routine to prepare routine. - This is precursor patch to ease power management handling. - This also allow to factorize few error cases (error handling). Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc.c | 59 ++--- 1

[PATCH 1/3] iio: adc: stm32-adc: move self-calibration to prepare routine

2018-11-20 Thread Fabrice Gasnier
Move self-calibration routine to prepare routine. - This is precursor patch to ease power management handling. - This also allow to factorize few error cases (error handling). Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc.c | 59 ++--- 1