summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-uniphier-f.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-31 16:30:47 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-09-02 23:50:43 +0200
commit38f5d8d8cbb2ffa2b54315118185332329ec891c (patch)
treed62d120f08f9cae3d7357d450fcd5b55b5e27da9 /drivers/i2c/busses/i2c-uniphier-f.c
parentLinux 4.19-rc2 (diff)
downloadlinux-38f5d8d8cbb2ffa2b54315118185332329ec891c.tar.xz
linux-38f5d8d8cbb2ffa2b54315118185332329ec891c.zip
i2c: uniphier: 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: dd6fd4a32793 ("i2c: uniphier: add UniPhier FIFO-less I2C driver") Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-uniphier-f.c')
0 files changed, 0 insertions, 0 deletions