commit | f66f18e99a253f5cf8c1cf7f2910b7ddcee92970 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Wed Oct 18 13:40:12 2017 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat Oct 21 17:52:20 2017 +0100 |
tree | 0f640a92192ef15080fbefb37b7bdfb0879b5c0f | |
parent | 3a069904282d621fc65ec37713f41f69ba63645f [diff] |
iio: adc: stm32: add check on clock rate Add check on STM32 ADC clock rate to report an explicit error. This may avoid division by 0 later in stm32-adc driver. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>