Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-21 Thread Wolfram Sang
On Mon, Sep 30, 2019 at 05:28:01PM +0200, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to be sent > The driver currently ignores the 1st byte t

Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-15 Thread Fabrice Gasnier
On 9/30/19 5:28 PM, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to be sent > The driver currently ignores the 1st byte to send on this event.

Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-01 Thread Pierre Yves MORDRET
Hi, Reviewed-by: Pierre-Yves MORDRET Thx On 9/30/19 5:28 PM, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to be sent > The driver currently

[PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-09-30 Thread Fabrice Gasnier
The slave-interface documentation [1] states "the bus driver should transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: - 'val': backend returns first byte to be sent The driver currently ignores the 1st byte to send on this event. Fixes: 60d609f30de2 ("i2c: i2c-stm32f7: Add slave