Re: [PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-21 Thread Wolfram Sang
On Tue, Oct 01, 2019 at 10:51:09AM +0200, Fabrice Gasnier wrote: > When in slave mode, an arbitration loss (ARLO) may be detected before the > slave had a chance to detect the stop condition (STOPF in ISR). > This is seen when two master + slave adapters switch their roles. It > provokes the i2c bu

Re: [PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-15 Thread Fabrice Gasnier
On 10/1/19 10:51 AM, Fabrice Gasnier wrote: > When in slave mode, an arbitration loss (ARLO) may be detected before the > slave had a chance to detect the stop condition (STOPF in ISR). > This is seen when two master + slave adapters switch their roles. It > provokes the i2c bus to be stuck, busy a

Re: [PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-01 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thx On 10/1/19 10:51 AM, Fabrice Gasnier wrote: > When in slave mode, an arbitration loss (ARLO) may be detected before the > slave had a chance to detect the stop condition (STOPF in ISR). > This is seen when two master + slave adapters switch their roles. I

[PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-01 Thread Fabrice Gasnier
When in slave mode, an arbitration loss (ARLO) may be detected before the slave had a chance to detect the stop condition (STOPF in ISR). This is seen when two master + slave adapters switch their roles. It provokes the i2c bus to be stuck, busy as SCL line is stretched. - the I2C_SLAVE_STOP event