diff options
author | 2020-01-16 13:08:29 +0300 | |
---|---|---|
committer | 2020-01-18 13:33:11 +0000 | |
commit | 98496ccdf0dd88696203e69542e07ef824c56ead (patch) | |
tree | f6aa2016245b1dcd64f58ef787f7385e7ea24079 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: imu/mpu6050: support dual-edge IRQ (diff) | |
download | wireguard-linux-98496ccdf0dd88696203e69542e07ef824c56ead.tar.xz wireguard-linux-98496ccdf0dd88696203e69542e07ef824c56ead.zip |
iio: accel: bma400: prevent setting accel scale too low
This puts an upper bound on "val2" but it also needs to have a lower
bound (BMA400_SCALE_MIN).
Fixes: 465c811f1f20 ("iio: accel: Add driver for the BMA400")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions