aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kepplinger <[email protected]>2016-03-03 09:24:02 +0100
committerJonathan Cameron <[email protected]>2016-03-05 17:22:16 +0000
commite866853d67868ac0f7e0779d19aaad07285c9ff3 (patch)
treeb1bf6e737e28e33ade067b725544978608605b27 /tools/perf/scripts/python
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 <[email protected]> Signed-off-by: Christoph Muellner <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions