Re: [PATCH 2/3] i2c:ocores: do not handle IRQ if IF is not set

From: Federico Vaga
Date: Mon Oct 29 2018 - 10:28:01 EST


On Monday, October 29, 2018 9:53:01 AM CET Wolfram Sang wrote:
> On Sun, Oct 21, 2018 at 04:12:10PM +0200, Peter Korsgaard wrote:
> > On Mon, Jun 25, 2018 at 6:14 PM Federico Vaga <federico.vaga@xxxxxxx>
wrote:
> > > If the Interrupt Flag (IF) is not set, we should not handle the IRQ:
> > > - the line can be shared with other devices
> > > - it can be a spurious interrupt
> > >
> > > To avoid reading twice the status register, the ocores_process()
> > > function
> > > expects it to be read by the caller.
> > >
> > > Signed-off-by: Federico Vaga <federico.vaga@xxxxxxx>
> >
> > Looks good.
> >
> > Acked-by: Peter Korsgaard <peter@xxxxxxxxxxxxx>
>
> I assume this patch will be resent when the other patches get updated?
> Or shall I pick this one independently of the others?

Since Peter did not answer yet, I would say to wait because I'm going to re-
send the full patch-set soon.