Skip to contentSkip to conversation

Patch "iio: light: hid-sensor-prox: Fix modifier" has been added to the 4.0-stable tree

PATCH [email protected] 1 participant 1 message Jun 3, 2015

Subsystems (3)
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: light: hid-sensor-prox: Fix modifier

to the 4.0-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-light-hid-sensor-prox-fix-modifier.patch
and it can be found in the queue-4.0 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 c2aab3d58b96002555a3e70004f593b043830248 Mon Sep 17 00:00:00 2001

From: Srinivas Pandruvada <[email protected]>
Date: Tue, 14 Apr 2015 14:53:22 -0700
Subject: iio: light: hid-sensor-prox: Fix modifier

From: Srinivas Pandruvada <[email protected]>

commit c2aab3d58b96002555a3e70004f593b043830248 upstream.

Currently in_proximity_(null)_raw is getting presented as raw sysfs attribute. Same with the scan_elements.
The modifier doesn't apply to this channel.

---
 drivers/iio/light/hid-sensor-prox.c |    2 --
 1 file changed, 2 deletions(-)
drivers/iio/light/hid-sensor-prox.c +0 -2
@@ -43,8 +43,6 @@ struct prox_state {
 static const struct iio_chan_spec prox_channels[] = {
 	{
 		.type = IIO_PROXIMITY,
-		.modified = 1,
-		.channel2 = IIO_NO_MOD,
 		.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
 		.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_OFFSET) |
 		BIT(IIO_CHAN_INFO_SCALE) |

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

queue-4.0/iio-pressure-hid-sensor-press-fix-modifier.patch queue-4.0/iio-light-hid-sensor-prox-fix-modifier.patch