diff options
author | Brian Masney <masneyb@onstation.org> | 2018-05-11 02:12:21 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-05-12 13:23:06 +0200 |
commit | da18e8906278b82774fe5181d98e1e37a62fc1e6 (patch) | |
tree | 81e87955ac4e1323567393c538621b59348cbd5e /drivers/iio/light/Kconfig | |
parent | staging: iio: tsl2x7x: correct IIO_EV_INFO_PERIOD values (diff) | |
download | linux-da18e8906278b82774fe5181d98e1e37a62fc1e6.tar.xz linux-da18e8906278b82774fe5181d98e1e37a62fc1e6.zip |
staging: iio: tsl2x7x: add range checking to tsl2x7x_write_raw
The CALIBBIAS and INT_TIME masks in tsl2x7x_write_raw did not have any
range checking in place so this patch adds the appropriate range
checking. The defines TSL2X7X_ALS_GAIN_TRIM_{MIN,MAX} are also
introduced by this patch.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/light/Kconfig')
0 files changed, 0 insertions, 0 deletions