[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZ-uuzjbHz9oXwjkTBO5ss1KcBN2Vth6N6h32zmgYhAUA@mail.gmail.com>
Date: Tue, 12 May 2020 11:03:22 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Jonathan Bakker <xc-racer2@...e.ca>
Cc: Jonathan Cameron <jic23@...nel.org>,
Hartmut Knaack <knaack.h@....de>,
Lars-Peter Clausen <lars@...afoo.de>,
Peter Meerwald <pmeerw@...erw.net>,
linux-iio <linux-iio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] iio: light: gp2ap002: Take runtime PM reference on
light read
On Sun, May 10, 2020 at 5:58 PM Jonathan Bakker <xc-racer2@...e.ca> 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@...e.ca>
Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
Sorry for missing this!
Yours,
Linus Walleij
Powered by blists - more mailing lists