Skip to contentSkip to conversation

Patch "iio: humidity: hdc100x: correct humidity integration time mask" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jul 25, 2016

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: humidity: hdc100x: correct humidity integration time mask

to the 4.4-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-humidity-hdc100x-correct-humidity-integration-time-mask.patch

and it can be found in the queue-4.4 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 0e35cf5ce00d873d6e529d2b2cd7598d52438051 Mon Sep 17 00:00:00 2001

From: Alison Schofield <[email protected]>
Date: Fri, 20 May 2016 10:06:41 -0700
Subject: iio: humidity: hdc100x: correct humidity integration time mask

From: Alison Schofield <[email protected]>

commit 0e35cf5ce00d873d6e529d2b2cd7598d52438051 upstream.

Apply the correct mask to enable all available humidity integration times. Currently, the driver defaults to 6500 and all is okay with that. However, if 3850 is selected we get a stuck bit and can't change back to 6500 or select 2500. (Verified with HDC1008)

---
 drivers/iio/humidity/hdc100x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/humidity/hdc100x.c +1 -1
@@ -55,7 +55,7 @@ static const struct {
 	},
 	{ /* IIO_HUMIDITYRELATIVE channel */
 		.shift = 8,
-		.mask = 2,
+		.mask = 3,
 	},
 };
 

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

queue-4.4/iio-hudmidity-hdc100x-fix-incorrect-shifting-and-scaling.patch queue-4.4/iio-humidity-hdc100x-correct-humidity-integration-time-mask.patch