diff options
author | Brian Masney <masneyb@onstation.org> | 2017-01-17 04:25:02 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-01-22 13:21:40 +0000 |
commit | 2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8 (patch) | |
tree | a77bebddaf477f251e8f46a3f2a244d47c802820 /drivers/iio | |
parent | staging: iio: isl29028: only set ALS scale when ALS/IR sensing is enabled (diff) | |
download | linux-dev-2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8.tar.xz linux-dev-2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8.zip |
staging: iio: isl29028: add runtime power management support
This patch adds runtime power management support to the isl29028 driver.
It defaults to powering off the device after two seconds of inactivity.
isl29028_chip_init_and_power_on() currently only zeros the CONFIGURE
register on the chip, which will cause the chip to turn off. This patch
also renames that function to isl29028_clear_configure_reg() since it is
now used in several places.
Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions