diff options
| author | Mikko Koivunen <[email protected]> | 2017-05-18 15:12:50 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-05-21 15:06:11 +0100 |
| commit | 12d74949133e2450533894ea01ce0c56646ce006 (patch) | |
| tree | c34af63d36958d341fb26b3870dc5cd59c310f14 /tools/perf/scripts/python/stackcollapse.py | |
| parent | f87fa26177ac4dd5ebcc1e598a90142ecb4973cb (diff) | |
iio: light: rpr0521 poweroff for probe fails
Set sensor measurement off after probe fail in pm_runtime_set_active() or
iio_device_register(). Without this change sensor measurement stays on
even though probe fails on these calls.
This is maybe rare case, but causes constant power drain without any
benefits when it happens. Power drain is 20-500uA, typically 180uA.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions