aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMikko Koivunen <mikko.koivunen@fi.rohmeurope.com>2017-05-18 15:12:50 +0300
committerJonathan Cameron <jic23@kernel.org>2017-05-21 15:06:11 +0100
commit12d74949133e2450533894ea01ce0c56646ce006 (patch)
treec34af63d36958d341fb26b3870dc5cd59c310f14 /tools/perf/scripts/python/event_analyzing_sample.py
parentiio: light: rpr0521 disable sensor -bugfix (diff)
downloadlinux-12d74949133e2450533894ea01ce0c56646ce006.tar.gz
linux-12d74949133e2450533894ea01ce0c56646ce006.zip
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 <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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions