RE: [PATCH v3] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-10-28 Thread Michael.Wu
Hi, > On 10/23/20 8:40 AM, Michael Wu wrote: > > If some bits were cleared by i2c_dw_read_clear_intrbits_slave() in > > i2c_dw_isr_slave() and not handled immediately, those cleared bits would > > not be shown again by later i2c_dw_read_clear_intrbits_slave(). They > > therefore were forgotten to

Re: [PATCH v3] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-10-23 Thread Jarkko Nikula
On 10/23/20 8:40 AM, Michael Wu wrote: If some bits were cleared by i2c_dw_read_clear_intrbits_slave() in i2c_dw_isr_slave() and not handled immediately, those cleared bits would not be shown again by later i2c_dw_read_clear_intrbits_slave(). They therefore were forgotten to be handled.

[PATCH v3] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-10-22 Thread Michael Wu
If some bits were cleared by i2c_dw_read_clear_intrbits_slave() in i2c_dw_isr_slave() and not handled immediately, those cleared bits would not be shown again by later i2c_dw_read_clear_intrbits_slave(). They therefore were forgotten to be handled. i2c_dw_read_clear_intrbits_slave() should be