commit | 204a6a25db79a0d754451c023933e0470b498730 | [log] [tgz] |
---|---|---|
author | Fabrice Gasnier <fabrice.gasnier@st.com> | Mon May 29 11:28:19 2017 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jun 11 15:07:26 2017 +0100 |
tree | 9ff4d3cced3fa19202d5dcdf5f113eabad86bda7 | |
parent | 64ad7f6438f3be51a14ee5ae766ffee76cd28b02 [diff] |
iio: adc: stm32: make per instance bus clock optional STM32F4 requires one clock per ADC instance for register access. But, newer version of ADC hardware block have common bus clock for all instances (per instance driver isn't responsible for getting it). So, make it optional by default. Still, enforce it's required on STM32F4. Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>