i2c: qup: fix the transfer length for BAM RX EOT FLUSH tags
authorAbhishek Sahu <absahu@codeaurora.org>
Mon, 12 Mar 2018 13:14:55 +0000 (18:44 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 24 Mar 2018 12:19:48 +0000 (13:19 +0100)
commit7e6c35fe602df6821b3e7db5b1ba656162750fda
tree23600a7455bdc0dff13fb64332507c1e98e81998
parentc5adc0fa63a930e3313c74bb7c1d4d158130eb41
i2c: qup: fix the transfer length for BAM RX EOT FLUSH tags

In case of FLUSH operation, BAM copies INPUT EOT FLUSH (0x94)
instead of normal EOT (0x93) tag in input data stream when an
input EOT tag is received during flush operation. So only one tag
will be written instead of 2 separate tags.

Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-qup.c