From: Oleg Ryjkov Date: Sat, 13 Oct 2007 21:56:33 +0000 (+0200) Subject: i2c-nforce2: Abort the transaction on error X-Git-Tag: v2.6.24-rc1~1337 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d49584c4a37c7228e7778bcb60f79e7a08472fa8;p=pandora-kernel.git i2c-nforce2: Abort the transaction on error This patch is to add an abort function that will bring back the MCP51/55 controller if it was blocked by a block-read operation, in particular. (When a slave sends a wrong byte count on a byte read, the host gets locked up). I've only tested it on an MCP51 and MCP55. However, I'm almost certain it will also work on MCP65, I just did not have the board to test it on. Thus for now the abort function will only be called if an MCP51/55 was detected. Signed-off-by: Oleg Ryjkov Signed-off-by: Jean Delvare --- Reading git-diff-tree failed