linux-stable/drivers/iio
Akinobu Mita e8245c6835 iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set
The ADS1015 device have two operating modes, continuous conversion mode
and single-shot mode.  This driver assumes that the continuous conversion
mode is selected by runtime resume callback when the ADC result is
requested.

If CONFIG_PM is disabled, the device is always in the default single-shot
mode and no one begins a single conversion.  So the conversion register
doesn't contain valid ADC result.  Fix it by changing the continuous mode
in probe function.

Cc: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-08-20 15:41:13 +01:00
..
accel iio: accel: bma180: constify i2c_device_id 2017-08-20 10:15:45 +01:00
adc iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set 2017-08-20 15:41:13 +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: common: st_sensors: move st_sensors_of_i2c_probe() in common code 2017-07-01 10:16:56 +01:00
counter
dac iio: dac: stm32: add support for stm32f4 2017-07-15 12:26:26 +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 iio: light: tsl2583: constify i2c_device_id 2017-08-20 10:17:23 +01:00
magnetometer iio: magnetometer: ak8974: debug AMI306 calibration data 2017-08-20 15:41:11 +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 iio: pressure: st_pressure: fix drdy configuration for LPS22HB and LPS25H 2017-08-12 13:46:32 +01: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: add output compare triggers 2017-08-12 13:05:27 +01:00
iio_core.h
iio_core_trigger.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