diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-08-17 14:19:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-09-03 11:21:19 +0200 |
commit | b32abe570ea99fa4c7538b88a1c95bc28a7872f4 (patch) | |
tree | 006efac14961ed75af8bcd34edd040e39c6182cb /fs/jbd2 | |
parent | 01bb0556be4a69066ca9d40f61569f361857c2e5 (diff) |
i2c: rcar: in slave mode, clear NACK earlier
[ Upstream commit 914a7b3563b8fb92f976619bbd0fa3a4a708baae ]
Currently, a NACK in slave mode is set/cleared when SCL is held low by
the IP core right before the bit is about to be pushed out. This is too
late for clearing and then a NACK from the previous byte is still used
for the current one. Now, let's clear the NACK right after we detected
the STOP condition following the NACK.
Fixes: de20d1857dd6 ("i2c: rcar: add slave support")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions