diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2016-12-28 18:16:36 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-12-30 21:20:23 +0100 |
commit | b4e8a0eb718749455601fa7b283febc42cca8957 (patch) | |
tree | 1ce3c4d5341c6c34b034458b723d1e3638ff7b48 /drivers/iio | |
parent | iio: adc: TI_AM335X_ADC should depend on HAS_DMA (diff) | |
download | linux-b4e8a0eb718749455601fa7b283febc42cca8957.tar.xz linux-b4e8a0eb718749455601fa7b283febc42cca8957.zip |
iio: max44000: correct value in illuminance_integration_time_available
According to the datasheet, the shortest available integration time for
ALS ADC conversion is 1.5625ms but illuminance_integration_time_available
sysfs file shows wrong value.
Cc: Crestez Dan Leonard <leonard.crestez@intel.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Fixes: d5d8f49b6 ("max44000: Expose ambient sensor scaling")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/light/max44000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/light/max44000.c b/drivers/iio/light/max44000.c index a144ca3461fc..81bd8e8da4a6 100644 --- a/drivers/iio/light/max44000.c +++ b/drivers/iio/light/max44000.c @@ -113,7 +113,7 @@ static const char max44000_int_time_avail_str[] = "0.100 " "0.025 " "0.00625 " - "0.001625"; + "0.0015625"; /* Available scales (internal to ulux) with pretty manual alignment: */ static const int max44000_scale_avail_ulux_array[] = { |