Home
last modified time | relevance | path

Searched hist:"98496 ccdf0dd88696203e69542e07ef824c56ead" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/accel/
H A Dbma400_core.cdiff 98496ccdf0dd88696203e69542e07ef824c56ead Thu Jan 16 11:08:29 CET 2020 Dan Carpenter <dan.carpenter@oracle.com> 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>