]> git.baikalelectronics.ru Git - kernel.git/commit
iio: max44000: correct value in illuminance_integration_time_available
authorAkinobu Mita <akinobu.mita@gmail.com>
Wed, 28 Dec 2016 17:16:36 +0000 (02:16 +0900)
committerJonathan Cameron <jic23@kernel.org>
Fri, 30 Dec 2016 20:20:23 +0000 (20:20 +0000)
commit77c61ae610a75ff9f686b4f37738de7b5d1cdcc4
tree1ce3c4d5341c6c34b034458b723d1e3638ff7b48
parent24081e7aff95b5993708399c477f52a14ba9487a
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: 2c81efaa0 ("max44000: Expose ambient sensor scaling")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/light/max44000.c