summaryrefslogtreecommitdiffstats
path: root/drivers/iio/accel/Makefile
diff options
context:
space:
mode:
authorIrina Tirdea <irina.tirdea@intel.com>2015-01-11 21:10:14 +0200
committerJonathan Cameron <jic23@kernel.org>2015-01-27 18:49:56 +0000
commit6da93a6710a3b1eb3d15b88bf96efaac322c893f (patch)
tree20559b13c30692024e43d6d2165b1f4832ba17a7 /drivers/iio/accel/Makefile
parent17a2cbc27981b85a09a48425c2614ae0cb7be8cd (diff)
downloadop-kernel-dev-6da93a6710a3b1eb3d15b88bf96efaac322c893f.zip
op-kernel-dev-6da93a6710a3b1eb3d15b88bf96efaac322c893f.tar.gz
iio: accel: mma9551: Add runtime pm support
Add support for runtime pm to reduce the power consumed by the device when not used. If CONFIG_PM is not enabled, the device will be powered on at init and only powered off on system suspend. If CONFIG_PM is enabled, runtime pm autosuspend is used: - for raw reads will keep the device on for a specified time - for events it will keep the device on as long as we have at least one event active Signed-off-by: Irina Tirdea <irina.tirdea@intel.com> Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/accel/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud