diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-05-02 01:26:28 +0400 |
---|---|---|
committer | Jean Delvare <khali@hyperion.delvare> | 2007-05-02 01:26:28 +0400 |
commit | 1ecac07abaca1a4084d0259d4a15b55188852a2e (patch) | |
tree | 369572a568a1162ed4ce7e3ef656f36e7e379a6b /include/linux/i2c.h | |
parent | ef2c8321f5a27ff9ecdae1ee587430cafa495586 (diff) | |
download | linux-1ecac07abaca1a4084d0259d4a15b55188852a2e.tar.xz |
i2c-algo-bit: Always send a stop condition before leaving
The i2c-algo-bit driver doesn't behave well on read errors: it'll
bail out without even sending a stop condition on the bus, so the bus
will be stuck. So make sure that we always send a stop condition on
the bus before we leave. The best way to make sure is to always send
it at the end of function bit_xfer.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions