mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-12-04 09:50:14 -05:00
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 <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Hartmut Knaack <[email protected]>
Cc: Lars-Peter Clausen <[email protected]>
Cc: Peter Meerwald-Stadler <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Fixes: d5d8f49b6 ("max44000: Expose ambient sensor scaling")
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
b1448ea9cd
commit
b4e8a0eb71
1 changed files with 1 additions and 1 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue