aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>2017-05-18 15:12:51 +0300
committerJonathan Cameron <jic23@kernel.org>2017-05-21 15:06:12 +0100
commit484c314b90ae240fb8e6e2924722deb92c756d93 (patch)
tree2ac3a1d6fb2ab702875aa159495d3345bf4e8178 /tools/perf/scripts/python/export-to-postgresql.py
parentiio: light: rpr0521 poweroff for probe fails (diff)
downloadlinux-484c314b90ae240fb8e6e2924722deb92c756d93.tar.gz
linux-484c314b90ae240fb8e6e2924722deb92c756d93.zip
iio: light: rpr0521 on-off sequence change for CONFIG_PM
Refactor _set_power_state(), _resume() and _suspend(). Enable measurement only when needed, not in _init(). System can suspend during measurement and measurement is continued on resume. Pm turns off measurement when both ps and als measurements are disabled for 2 seconds. During off-time the power save is 20-500mA, typically 180mA. Signed-off-by: Mikko Koivunen <mikko.koivunen@fi.rohmeurope.com> Acked-by: Daniel Baluta <daniel.baluta@nxp.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions