diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2018-07-10 23:42:15 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-07-12 23:38:18 +0200 |
commit | abe41184abac487264a4904bfcff2d5500dccce6 (patch) | |
tree | 079664694459227f87514f271b64267315e46e3b /net/psample | |
parent | i2c: tegra: Fix NACK error handling (diff) | |
download | linux-abe41184abac487264a4904bfcff2d5500dccce6.tar.xz linux-abe41184abac487264a4904bfcff2d5500dccce6.zip |
i2c: recovery: if possible send STOP with recovery pulses
I2C clients may misunderstand recovery pulses if they can't read SDA to
bail out early. In the worst case, as a write operation. To avoid that
and if we can write SDA, try to send STOP to avoid the
misinterpretation.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: stable@kernel.org
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions