Skip to contentSkip to conversation

Patch "iio: max44000: correct value in illuminance_integration_time_available" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Jan 9, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

iio: max44000: correct value in illuminance_integration_time_available

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
iio-max44000-correct-value-in-illuminance_integration_time_available.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From b4e8a0eb718749455601fa7b283febc42cca8957 Mon Sep 17 00:00:00 2001

From: Akinobu Mita <[email protected]>
Date: Thu, 29 Dec 2016 02:16:36 +0900
Subject: iio: max44000: correct value in illuminance_integration_time_available

From: Akinobu Mita <[email protected]>

commit b4e8a0eb718749455601fa7b283febc42cca8957 upstream.

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]>
Fixes d5d8f49b6 ("max44000: Expose ambient sensor scaling")
---
 drivers/iio/light/max44000.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/light/max44000.c +1 -1
@@ -113,7 +113,7 @@ static const char max44000_int_time_avai
 	"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[] = {

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/iio-max44000-correct-value-in-illuminance_integration_time_available.patch