aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/stm32-adc-core.c
diff options
context:
space:
mode:
authorJonathan Bakker <xc-racer2@live.ca>2020-05-10 08:58:18 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-05-22 17:19:41 +0100
commitf6dbf83c17cb223ceabd7c42d441414f3e0e8a86 (patch)
tree5d3f353239aa37b094f8ab72bff6b10fc556619b /drivers/iio/adc/stm32-adc-core.c
parentiio: proximity: ping: pass reference to IIO device as param to ping_read() (diff)
downloadlinux-dev-f6dbf83c17cb223ceabd7c42d441414f3e0e8a86.tar.xz
linux-dev-f6dbf83c17cb223ceabd7c42d441414f3e0e8a86.zip
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 <xc-racer2@live.ca> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/adc/stm32-adc-core.c')
0 files changed, 0 insertions, 0 deletions