linux-stable/drivers/iio
Lorenzo Bianconi 5685b145c1 iio: imu: st_lsm6dsx: fix decimation factor estimation
Fix decimation factor and sip estimation for LSM6DSM series
(max value for decimation factor is 32).
If gyro and accel sensors are enabled at 12.5Hz and 416Hz
respectively, decimation factor lookup will fail, producing
unaligned data.
Remove unused decimator filed in st_lsm6dsx_sensor structure.

Fixes: f8710f0357 ("iio: imu: st_lsm6dsx: express odr in mHZ")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2019-12-08 18:10:30 +00:00
..
accel iio: st_accel: Fix unused variable warning 2019-12-08 18:10:28 +00:00
adc iio: adc: max1027: fix not unregistered iio trigger 2019-12-08 18:10:29 +00:00
afe
amplifiers
buffer
chemical iio: chemical: sgp30: drop excess semicolon 2019-10-22 12:41:07 +01:00
common chrome platform changes for v5.4 2019-09-19 14:14:28 -07:00
dac iio: dac: ad5446: Add support for new AD5600 DAC 2019-11-10 15:14:06 +00:00
dummy spi: docs: convert to ReST and add it to the kABI bookset 2019-07-31 14:13:13 -06:00
frequency iio: frequency: adf4371: Fix output frequency setting 2019-08-05 17:38:33 +01:00
gyro iio: gyro: adis16136: check ret val for non-zero vs less-than-zero 2019-11-03 10:14:44 +00:00
health
humidity iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting 2019-12-08 18:10:29 +00:00
imu iio: imu: st_lsm6dsx: fix decimation factor estimation 2019-12-08 18:10:30 +00:00
light iio: light: add driver for veml6030 ambient light sensor 2019-11-10 10:39:33 +00:00
magnetometer iio: st: Drop GPIO include 2019-10-27 15:55:45 +00:00
multiplexer
orientation
potentiometer iio: potentiometer: add a driver for Maxim 5432-5435 2019-08-05 14:25:08 +01:00
potentiostat
pressure iio: cros_ec_baro: set info_mask_shared_by_all_available field 2019-11-10 16:00:33 +00:00
proximity Merge 5.4-rc7 into staging-next 2019-11-11 06:23:37 +01:00
resolver
temperature iio: temperature: ltc2983: fix u32 read into a unsigned long long 2019-12-08 18:10:28 +00:00
trigger IIO: stm32: Remove quadrature related functions from trigger driver 2019-07-27 20:11:18 +01:00
iio_core.h
iio_core_trigger.h
industrialio-buffer.c
industrialio-configfs.c
industrialio-core.c iio: core: Add optional symbolic label to device attributes 2019-10-07 21:31:18 +01:00
industrialio-event.c
industrialio-sw-device.c
industrialio-sw-trigger.c
industrialio-trigger.c
industrialio-triggered-event.c
inkern.c Driver Core and debugfs changes for 5.3-rc1 2019-07-12 12:24:03 -07:00
Kconfig
Makefile