Dan Carpenter
98496ccdf0
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>
2020-01-18 13:33:11 +00:00
..
2020-01-18 13:33:11 +00:00
2020-01-18 11:43:16 +00:00
2019-05-21 10:50:46 +02:00
2019-07-01 10:58:13 +02:00
2019-12-29 15:20:09 +00:00
2020-01-12 11:34:16 +00:00
2020-01-13 21:53:39 +00:00
2019-12-15 11:42:16 +00:00
2019-07-31 14:13:13 -06:00
2019-12-15 11:42:16 +00:00
2020-01-13 21:53:39 +00:00
2019-05-30 11:26:41 -07:00
2020-01-12 11:34:15 +00:00
2020-01-18 13:31:35 +00:00
2020-01-10 10:44:00 +01:00
2020-01-18 11:43:17 +00:00
2019-05-21 10:50:46 +02:00
2019-06-05 17:37:04 +02:00
2019-08-05 14:25:08 +01:00
2019-05-21 10:50:46 +02:00
2020-01-13 21:53:39 +00:00
2019-12-15 11:42:15 +00:00
2019-12-15 11:42:15 +00:00
2020-01-10 10:44:00 +01:00
2019-12-01 10:20:21 +00:00
2019-06-19 17:09:55 +02:00
2019-12-29 15:20:09 +00:00
2019-12-29 15:20:09 +00:00
2019-06-19 17:09:55 +02:00
2020-01-10 10:44:00 +01:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-06-19 17:09:55 +02:00
2019-05-30 11:26:32 -07:00
2019-07-12 12:24:03 -07:00
2019-07-01 10:58:13 +02:00
2019-04-25 21:33:41 +02:00