lkml.org 
[lkml]   [2020]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] iio: light: gp2ap002: Take runtime PM reference on light read
On Tue, 12 May 2020 11:03:22 +0200
Linus Walleij <linus.walleij@linaro.org> wrote:

> On Sun, May 10, 2020 at 5:58 PM Jonathan Bakker <xc-racer2@live.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@live.ca>
>
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>
> Sorry for missing this!
>
> Yours,
> Linus Walleij
Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan


\
 
 \ /
  Last update: 2020-05-16 18:34    [W:0.061 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site