diff options
| author | Mikko Koivunen <[email protected]> | 2017-05-18 15:12:51 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-05-21 15:06:12 +0100 |
| commit | 484c314b90ae240fb8e6e2924722deb92c756d93 (patch) | |
| tree | 2ac3a1d6fb2ab702875aa159495d3345bf4e8178 /tools/perf/scripts/python | |
| parent | 12d74949133e2450533894ea01ce0c56646ce006 (diff) | |
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 <[email protected]>
Acked-by: Daniel Baluta <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions