kernel-fxtec-pro1x/drivers/iio/gyro
Andy Shevchenko 3c1f01628a iio: st_gyro: Correct data for LSM9DS0 gyro
commit e825070f697abddf3b9b0a675ed0ff1884114818 upstream.

The commit 41c128cb25 ("iio: st_gyro: Add lsm9ds0-gyro support")
assumes that gyro in LSM9DS0 is the same as others with 0xd4 WAI ID,
but datasheet tells slight different story, i.e. the first scale factor
for the chip is 245 dps, and not 250 dps.

Correct this by introducing a separate settings for LSM9DS0.

Fixes: 41c128cb25 ("iio: st_gyro: Add lsm9ds0-gyro support")
Depends-on: 45a4e4220b ("iio: gyro: st_gyro: fix L3GD20H support")
Cc: Leonard Crestez <leonard.crestez@nxp.com>
Cc: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-01 09:37:04 +00:00
..
adis16080.c
adis16130.c
adis16136.c
adis16260.c
adxrs450.c
bmg160.h
bmg160_core.c
bmg160_i2c.c
bmg160_spi.c
hid-sensor-gyro-3d.c
itg3200_buffer.c
itg3200_core.c
Kconfig
Makefile
mpu3050-core.c
mpu3050-i2c.c
mpu3050.h
ssp_gyro_sensor.c
st_gyro.h
st_gyro_buffer.c
st_gyro_core.c iio: st_gyro: Correct data for LSM9DS0 gyro 2020-02-01 09:37:04 +00:00
st_gyro_i2c.c
st_gyro_spi.c