aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-core.c
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2007-05-01 21:26:28 +0000
committerJean Delvare <[email protected]>2007-05-01 21:26:28 +0000
commit1ecac07abaca1a4084d0259d4a15b55188852a2e (patch)
tree369572a568a1162ed4ce7e3ef656f36e7e379a6b /drivers/i2c/i2c-core.c
parenti2c: Rename dev_to_i2c_adapter() (diff)
downloadkernel-1ecac07abaca1a4084d0259d4a15b55188852a2e.tar.gz
kernel-1ecac07abaca1a4084d0259d4a15b55188852a2e.zip
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 <[email protected]>
Diffstat (limited to 'drivers/i2c/i2c-core.c')
0 files changed, 0 insertions, 0 deletions