commit | 9861d2daaf28e7beaa0c655206c595094d47ccd8 | [log] [tgz] |
---|---|---|
author | Brian Masney <masneyb@onstation.org> | Thu May 10 20:12:20 2018 -0400 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sat May 12 12:21:27 2018 +0100 |
tree | cb4356be2569904c127e55a9e4abeebf36722bd5 | |
parent | 77b69a0e679b5ca67c5a2b925c195d22dadff12d [diff] |
staging: iio: tsl2x7x: correct IIO_EV_INFO_PERIOD values The thresh periods assumed an integration time of 3ms. This patch adds support for the correct integration time (2.72ms or 2.73ms). The code had the ALS filter values as going up to 15, however the values actually went up to 60 since the values scaled in increments of 5 once the persistence value went above 3. Signed-off-by: Brian Masney <masneyb@onstation.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>