Skip to contentSkip to conversation

patch "iio: st_pressure: initialize lps22hb bootime" added to staging-linus

PATCH [email protected] 1 participant 1 message Apr 3, 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: st_pressure: initialize lps22hb bootime

to my staging git tree which can be found at
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git
in the staging-linus branch.

The patch will show up in the next release of the linux-next tree (usually sometime within the next 24 hours during the week.)

The patch will hopefully also be merged in Linus's tree for the next -rc kernel release.

If you have any questions about this process, please let me know.

Quoted 1 line

From 51f528a1636f352ad776a912ac86026ac7a89a2a Mon Sep 17 00:00:00 2001

From: Shrirang Bagul <[email protected]>
Date: Thu, 30 Mar 2017 23:47:21 +0800
Subject: iio: st_pressure: initialize lps22hb bootime

This patch initializes the bootime in struct st_sensor_settings for lps22hb sensor. Without this, sensor channels read from sysfs always report stale values.

---
 drivers/iio/pressure/st_pressure_core.c | 1 +
 1 file changed, 1 insertion(+)
drivers/iio/pressure/st_pressure_core.c +1 -0
index 5f2680855552..fd0edca0e656 100644
@@ -457,6 +457,7 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
 			.addr_stat_drdy = ST_SENSORS_DEFAULT_STAT_ADDR,
 		},
 		.multi_read_bit = true,
+		.bootime = 2,
 	},
 };
 
Signature · 1 line
2.12.1