]> git.baikalelectronics.ru Git - kernel.git/commit
iio: cros_ec: Remove pm function
authorGwendal Grignou <gwendal@chromium.org>
Fri, 27 Mar 2020 22:34:39 +0000 (15:34 -0700)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Sat, 28 Mar 2020 21:04:32 +0000 (22:04 +0100)
commit816564b62de2ececa166f836ba7a0e8ec6e264e1
treefb85b91e456850a4c156b7984167bbe8dd27075d
parentebca6d0e7789ce6b6c000fb4a42f3b2b1a7114a4
iio: cros_ec: Remove pm function

Since cros_ec_sensorhub is shutting down the FIFO when the device
suspends, no need to slow down the EC sampling period rate.

It was necesseary to do that before command CMD_FIFO_INT_ENABLE was
introduced, but now all supported chromebooks have it.

Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
drivers/iio/light/cros_ec_light_prox.c
include/linux/iio/common/cros_ec_sensors_core.h