From: Philby John Date: Mon, 11 Jan 2010 17:09:44 +0000 (+0530) Subject: i2c: davinci: bus recovery procedure to clear the bus X-Git-Tag: v2.6.36-rc1~17^2~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8574faf9a5ae71fdd84c6413779a9b076138eb9e;p=pandora-kernel.git i2c: davinci: bus recovery procedure to clear the bus Come out of i2c time out condition by following the bus recovery procedure outlined in the i2c protocol v3 spec. The kernel must be robust enough to gracefully recover from i2c bus failure without having to reset the machine. This is done by first NACKing the slave, pulsing the SCL line 9 times and then sending the stop command. This patch has been tested on a DM6446 and DM355 Signed-off-by: Philby John Signed-off-by: Srinivasan, Nageswari Acked-by: Kevin Hilman --- Reading git-diff-tree failed