diff options
| author | Jonathan Bakker <[email protected]> | 2020-05-10 08:58:18 -0700 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2020-05-22 17:19:41 +0100 |
| commit | f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 (patch) | |
| tree | 5d3f353239aa37b094f8ab72bff6b10fc556619b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 1ecca8a9a4989b693f2f6d349bf54c0fdfc10e8e (diff) | |
iio: light: gp2ap002: Take runtime PM reference on light read
The light sensor needs the regulators to be enabled which means
the runtime PM needs to be on. This only happened when the
proximity part of the chip was enabled.
As fallout from this change, only report changes to the prox
state in the interrupt handler when it is explicitly enabled.
Fixes: 97d642e23037 ("iio: light: Add a driver for Sharp GP2AP002x00F")
Signed-off-by: Jonathan Bakker <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions