Re: [PATCH v1 2/6] i2c: iproc: handle only slave interrupts which are enabled

2020-10-23 Thread Ray Jui
On 10/11/2020 11:22 AM, Rayagonda Kokatanur wrote: > Handle only slave interrupts which are enabled. > > The IS_OFFSET register contains the interrupt status bits which will be > set regardless of the enabling of the corresponding interrupt condition. > One must therefore look at both IS_OFFSET

[PATCH v1 2/6] i2c: iproc: handle only slave interrupts which are enabled

2020-10-11 Thread Rayagonda Kokatanur
Handle only slave interrupts which are enabled. The IS_OFFSET register contains the interrupt status bits which will be set regardless of the enabling of the corresponding interrupt condition. One must therefore look at both IS_OFFSET and IE_OFFSET to determine whether an interrupt condition is se