Fixes enable/disable irq handling at various points. The driver needs to
only enable/disable irqs if there is an actual irq handler installed.
Signed-off-by: Daniel Campello
---
drivers/iio/proximity/sx9310.c | 24 +++-
1 file changed, 15 insertions(+), 9 deletions(-)
diff
On Tue, Jul 28, 2020 at 6:14 PM Daniel Campello wrote:
>
> Fixes enable/disable irq handling at various points. The driver needs to
> only enable/disable irqs if there is an actual irq handler installed.
> - enable_irq(data->client->irq);
> + if (!ret)
> + enable_irq(dat
On Tue, Jul 28, 2020 at 12:08 PM Andy Shevchenko
wrote:
>
> On Tue, Jul 28, 2020 at 6:14 PM Daniel Campello wrote:
> >
> > Fixes enable/disable irq handling at various points. The driver needs to
> > only enable/disable irqs if there is an actual irq handler installed.
>
> > - enable_irq(da
Quoting Daniel Campello (2020-07-28 13:07:00)
> On Tue, Jul 28, 2020 at 12:08 PM Andy Shevchenko
> wrote:
> >
> > On Tue, Jul 28, 2020 at 6:14 PM Daniel Campello
> > wrote:
> > >
> > > Fixes enable/disable irq handling at various points. The driver needs to
> > > only enable/disable irqs if ther
4 matches
Mail list logo