[Linux-stm32] [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode
Wolfram Sang
wsa at the-dreams.de
Mon Oct 21 14:00:04 UTC 2019
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 to send on this event.
>
> Fixes: 60d609f30de2 ("i2c: i2c-stm32f7: Add slave support")
>
> [1] https://www.kernel.org/doc/Documentation/i2c/slave-interface
>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier at st.com>
Applied to for-current, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://st-md-mailman.stormreply.com/pipermail/linux-stm32/attachments/20191021/96e08569/attachment.sig>
More information about the Linux-stm32
mailing list