]> git.baikalelectronics.ru Git - kernel.git/commit
iio: st_pressure: initialize lps22hb bootime
authorShrirang Bagul <shrirang.bagul@canonical.com>
Thu, 30 Mar 2017 15:47:21 +0000 (23:47 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 2 Apr 2017 09:18:41 +0000 (10:18 +0100)
commitb5fd00cd4b951398c4362a33b62f9d9b48b9bf81
tree3f1ae931c7cc423eacce7e6d50587628e88e25fa
parent50795e6ff3a47ac8164c49019ebbb36a4f4609da
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.

Signed-off-by: Shrirang Bagul <shrirang.bagul@canonical.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/pressure/st_pressure_core.c