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

From: <gregkh@linuxfoundation.org>
Date: 2016-07-25 00:30:08

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 [off-list ref] know about it.

From 0e35cf5ce00d873d6e529d2b2cd7598d52438051 Mon Sep 17 00:00:00 2001
From: Alison Schofield <redacted>
Date: Fri, 20 May 2016 10:06:41 -0700
Subject: iio: humidity: hdc100x: correct humidity integration time mask

From: Alison Schofield <redacted>

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)

Signed-off-by: Alison Schofield <redacted>
Cc: Daniel Baluta <redacted>
Reviewed-by: Matt Ranostay <redacted>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/iio/humidity/hdc100x.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/iio/humidity/hdc100x.c
+++ b/drivers/iio/humidity/hdc100x.c
@@ -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 amsfield22@gmail.com 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help