From: Jean Delvare Date: Tue, 1 May 2007 21:26:28 +0000 (+0200) Subject: i2c-algo-bit: Always send a stop condition before leaving X-Git-Tag: v2.6.22-rc1~1081^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ecac07abaca1a4084d0259d4a15b55188852a2e;p=pandora-kernel.git 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 --- Reading git-diff-tree failed