On Sun, May 10, 2020 at 5:58 PM Jonathan Bakker <xc-racer2@xxxxxxx> wrote: > 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@xxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Sorry for missing this! Yours, Linus Walleij