summaryrefslogtreecommitdiff
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-12-17 19:10:38 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-01-13 21:49:20 +0000
commite825070f697abddf3b9b0a675ed0ff1884114818 (patch)
tree2a0e0823e1eabd492b2a6381e4b86e11ed277dca /drivers/iio/common
parenta2dd9bd9334efb8dc0bdc0109abff3a7b57effb1 (diff)
downloadlwn-e825070f697abddf3b9b0a675ed0ff1884114818.tar.gz
lwn-e825070f697abddf3b9b0a675ed0ff1884114818.zip
iio: st_gyro: Correct data for LSM9DS0 gyro
The commit 41c128cb25ce ("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: 41c128cb25ce ("iio: st_gyro: Add lsm9ds0-gyro support") Depends-on: 45a4e4220bf4 ("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>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions