Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1620415 > unrolled thread

[PATCH 4.10 015/110] iio: st_pressure: initialize lps22hb bootime

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-04-10 19:20 +0200
Last post2017-04-10 19:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 4.10 015/110] iio: st_pressure: initialize lps22hb bootime Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-04-10 19:20 +0200

#1620415 — [PATCH 4.10 015/110] iio: st_pressure: initialize lps22hb bootime

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-04-10 19:20 +0200
Subject[PATCH 4.10 015/110] iio: st_pressure: initialize lps22hb bootime
Message-ID<tuL8T-3IQ-27@gated-at.bofh.it>
4.10-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Shrirang Bagul <shrirang.bagul@canonical.com>

commit 51f528a1636f352ad776a912ac86026ac7a89a2a upstream.

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

Signed-off-by: Shrirang Bagul <shrirang.bagul@canonical.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 drivers/iio/pressure/st_pressure_core.c |    1 +
 1 file changed, 1 insertion(+)

--- a/drivers/iio/pressure/st_pressure_core.c
+++ b/drivers/iio/pressure/st_pressure_core.c
@@ -455,6 +455,7 @@ static const struct st_sensor_settings s
 			.addr_stat_drdy = ST_SENSORS_DEFAULT_STAT_ADDR,
 		},
 		.multi_read_bit = true,
+		.bootime = 2,
 	},
 };
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web