summaryrefslogtreecommitdiff
path: root/lib/show_mem.c
diff options
context:
space:
mode:
authorMartin Kepplinger <martink@posteo.de>2016-03-03 09:24:02 +0100
committerJonathan Cameron <jic23@kernel.org>2016-03-05 17:22:16 +0000
commite866853d67868ac0f7e0779d19aaad07285c9ff3 (patch)
treeb1bf6e737e28e33ade067b725544978608605b27 /lib/show_mem.c
parent8b8ff3a6a6e2325662e3af174f54b47487d3ed75 (diff)
iio: mma8452: avoid switching to active because of config change
The devices' config registers can only be changed in standby mode. Up until now the driver just held the device *always* active, so for changing a config it was *always* necessary to switch to standby. For upcoming support for runtime pm, the device can as well be in standby mode. Instead of putting runtime pm functions in there, just keep the device in standby if it already is. This section is protected by a lock after all. Signed-off-by: Martin Kepplinger <martink@posteo.de> Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions