Re: [PATCH 7/7] iio: adc: stm32-dfsdm: add check on spi-max-frequency

2018-04-28 Thread Jonathan Cameron
On Fri, 23 Feb 2018 13:51:01 +0100 Fabrice Gasnier wrote: > spi-max-frequency is requested for SPI master mode (only), to tune output > clock. It may happen requested frequency isn't reachable. > Add explicit check, so probe fails with error in this case. Otherwise, >

Re: [PATCH 7/7] iio: adc: stm32-dfsdm: add check on spi-max-frequency

2018-04-28 Thread Jonathan Cameron
On Fri, 23 Feb 2018 13:51:01 +0100 Fabrice Gasnier wrote: > spi-max-frequency is requested for SPI master mode (only), to tune output > clock. It may happen requested frequency isn't reachable. > Add explicit check, so probe fails with error in this case. Otherwise, > output clock may simply be

[PATCH 7/7] iio: adc: stm32-dfsdm: add check on spi-max-frequency

2018-02-23 Thread Fabrice Gasnier
spi-max-frequency is requested for SPI master mode (only), to tune output clock. It may happen requested frequency isn't reachable. Add explicit check, so probe fails with error in this case. Otherwise, output clock may simply be silently turned off (conversions fail). Signed-off-by: Fabrice

[PATCH 7/7] iio: adc: stm32-dfsdm: add check on spi-max-frequency

2018-02-23 Thread Fabrice Gasnier
spi-max-frequency is requested for SPI master mode (only), to tune output clock. It may happen requested frequency isn't reachable. Add explicit check, so probe fails with error in this case. Otherwise, output clock may simply be silently turned off (conversions fail). Signed-off-by: Fabrice