commit | 0da98c7b28bd189bfe916d2203edf5b7792784fe | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Tue Nov 20 11:12:30 2018 +0100 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Nov 25 13:13:40 2018 +0000 |
tree | 23e3c0028c82f3d06e8a235e6c3f7322daf71b3d | |
parent | 7f6232e69539971cf9eaed07a6c14ab4a2361133 [diff] |
iio: adc: stm32-adc: move self-calibration to prepare routine 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 <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>