On Sun, May 10, 2020 at 5:58 PM Jonathan Bakker <[email protected]> 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 <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Sorry for missing this!
Yours,
Linus Walleij