diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-31 23:30:48 +0900 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-09-02 23:50:43 +0200 |
commit | 4c85609b08c4761eca0a40fd7beb06bc650f252d (patch) | |
tree | de8994491e42ecc85ee6eb245566687eb14ec116 /drivers/iommu | |
parent | 38f5d8d8cbb2ffa2b54315118185332329ec891c (diff) |
i2c: uniphier-f: issue STOP only for last message or I2C_M_STOP
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: 6a62974b667f ("i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver")
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions