kernel_optimize_test/drivers/iio/common
Gwendal Grignou 0dad1eceeb iio: cros_ec: Relax sampling frequency before suspending
If an application set a tight sampling frequency, given the interrupt
use is a wakeup source, suspend will not happen: the kernel will receive
a wake up interrupt and will cancel the suspend process.

Given cros_ec sensors type is non wake up, this patch adds prepare and
complete callbacks to set 1s sampling period just before suspend. This
ensures the sensor hub will not be a source of interrupt during the
suspend process.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-03-03 15:02:58 +00:00
..
cros_ec_sensors iio: cros_ec: Relax sampling frequency before suspending 2018-03-03 15:02:58 +00:00
hid-sensors iio: hid-sensor-trigger: Don't touch sensors unless user space requests 2017-10-14 19:29:50 +01:00
ms_sensors
ssp_sensors iio: common: ssp_sensors: account for const type of of_device_id.data 2018-01-08 16:03:43 +01:00
st_sensors Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00