Re: [PATCH 1/2] i2c: uniphier: issue STOP only for last message or I2C_M_STOP
From: Wolfram Sang
Date: Sat Sep 01 2018 - 08:52:11 EST
On Fri, Aug 31, 2018 at 11:30:47PM +0900, Masahiro Yamada wrote:
> This driver currently emits a STOP if the next message is not
> I2C_MD_RD. It should not do it because it disturbs the I2C_RDWR
> ioctl, where read/write transactions are combined without STOP
> between.
>
> Issue STOP only when the message is the last one _or_ flagged with
> I2C_M_STOP.
>
> Fixes: dd6fd4a32793 ("i2c: uniphier: add UniPhier FIFO-less I2C driver")
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Applied to for-current, thanks!
Attachment:
signature.asc
Description: PGP signature