diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-08-31 13:18:22 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-09-08 12:35:08 +0100 |
commit | 85ae3aeedeccb6febb0c6f9d5346d9c6419ad925 (patch) | |
tree | 96f5a792a6dc5610a800a122116616eaf6a7d770 /drivers/iio/accel | |
parent | de10ac47597e7a3596b27631d0d5ce5f48d2c099 (diff) |
iio: imu: st_lsm6dsx: forbid 0 sensor sensitivity
Do not allow configuring null sensor gain since it will force to 0
device outputs
Fixes: c8d4066c7246 ("iio: imu: st_lsm6dsx: remove invalid gain value for LSM9DS1")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/accel')
0 files changed, 0 insertions, 0 deletions