i2c: mediatek: Reset the handshake signal between i2c and dma
authorKewei Xu <kewei.xu@mediatek.com>
Sun, 10 Oct 2021 07:05:12 +0000 (15:05 +0800)
committerWolfram Sang <wsa@kernel.org>
Mon, 11 Oct 2021 10:39:53 +0000 (12:39 +0200)
commite3e4949e637d39321cc379ff73a60c26df6410bc
tree08ee93b1e950dd3479669a1617e54f65e686a666
parent712d6617d0a29dc4d4da361247720cdf156ae7bb
i2c: mediatek: Reset the handshake signal between i2c and dma

Due to changes in the hardware design of the handshaking signal
between i2c and dma, it is necessary to reset the handshaking
signal before each transfer to ensure that the multi-msgs can
be transferred correctly.

Signed-off-by: Kewei Xu <kewei.xu@mediatek.com>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mt65xx.c