diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2020-08-17 15:19:30 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-08-25 10:42:51 +0300 |
commit | 914a7b3563b8fb92f976619bbd0fa3a4a708baae (patch) | |
tree | c4b4a5903a112f89dd496f7326a260c46ea3a365 /net/unix/af_unix.c | |
parent | e4682b8a688bc3352e663545ad51997c3d84877b (diff) | |
download | linux-914a7b3563b8fb92f976619bbd0fa3a4a708baae.tar.xz |
i2c: rcar: in slave mode, clear NACK earlier
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions