Skip to content

Commit b4e8a0e

Browse files
mitajic23
authored andcommitted
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: d5d8f49 ("max44000: Expose ambient sensor scaling") Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent b1448ea commit b4e8a0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/iio/light/max44000.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ static const char max44000_int_time_avail_str[] =
113113
"0.100 "
114114
"0.025 "
115115
"0.00625 "
116-
"0.001625";
116+
"0.0015625";
117117

118118
/* Available scales (internal to ulux) with pretty manual alignment: */
119119
static const int max44000_scale_avail_ulux_array[] = {

0 commit comments

Comments
 (0)