linux/drivers/iio
Fabrice Gasnier 4fb840c95f iio: adc: stm32: fix bad error check on max_channels
Fix a bad error check when counting 'st,adc-channels' array elements.
This is seen when all channels are in use simultaneously.

Fixes: 64ad7f643 ("iio: adc: stm32: introduce compatible data cfg")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-09-24 14:07:28 +01:00
..
accel Second set of IIO new device support, features and cleanup for the 4.14 cycle. 2017-08-20 10:42:42 -07:00
adc iio: adc: stm32: fix bad error check on max_channels 2017-09-24 14:07:28 +01:00
amplifiers
buffer iio: buffer-dmaengine: Add missing header buffer_impl.h 2017-06-13 20:56:05 +01:00
chemical iio: chemical: ccs811: Add triggered buffer support 2017-08-18 08:08:02 +01:00
common iio: magnetometer: st_magn: fix drdy line configuration for LIS3MDL 2017-09-03 17:39:39 +01:00
counter iio: pc104: Mask PC/104 drivers via the PC104 Kconfig option 2017-03-15 21:59:08 +00:00
dac iio: dac: stm32-dac-core: explicitly request exclusive reset control 2017-08-20 15:41:18 +01:00
dummy
frequency
gyro iio: gyro: st_gyro_spi: add OF capability to st_gyro_spi 2017-07-02 10:24:56 +01:00
health
humidity iio: humidity: hts221: move drdy enable logic in hts221_trig_set_state() 2017-07-25 20:03:04 +01:00
imu iio: adis16400: Change unsigned to unsigned int 2017-07-02 10:27:03 +01:00
light Second set of IIO new device support, features and cleanup for the 4.14 cycle. 2017-08-20 10:42:42 -07:00
magnetometer iio: magnetometer: st_magn: fix drdy line configuration for LIS3MDL 2017-09-03 17:39:39 +01:00
multiplexer iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00
orientation iio: orientation: hid-sensor-rotation: Drop unnecessary static 2017-07-17 21:45:01 +01:00
potentiometer
potentiostat
pressure Second set of IIO new device support, features and cleanup for the 4.14 cycle. 2017-08-20 10:42:42 -07:00
proximity iio: srf08: add support for srf02 in i2c mode 2017-08-18 08:04:17 +01:00
temperature iio: temperature: tsys01: Add OF match table 2017-07-01 10:16:42 +01:00
trigger iio: trigger: stm32-timer: fix a corner case to write preset 2017-09-24 13:09:57 +01:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: add hardware triggered operating mode 2017-06-11 15:58:41 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c iio: trigger: fix NULL pointer dereference in iio_trigger_write_current() 2017-05-21 12:36:59 +01:00
industrialio-triggered-event.c
inkern.c First round of IIO new device support, features and cleanups for the 4.14 cycle. 2017-07-27 21:29:49 -07:00
Kconfig iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00
Makefile iio: multiplexer: new iio category and iio-mux driver 2017-06-03 19:29:26 +09:00