summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorOleg Ryjkov <olegr@olegr.ca>2007-10-13 23:56:33 +0200
committerJean Delvare <khali@hyperion.delvare>2007-10-13 23:56:33 +0200
commitd49584c4a37c7228e7778bcb60f79e7a08472fa8 (patch)
tree73d1d9e7c65d64d2f4cbe0f9fae4f97494df5006 /lib
parent4153549734cbdba24e9cf5eb200b70b7b1572e15 (diff)
downloadop-kernel-dev-d49584c4a37c7228e7778bcb60f79e7a08472fa8.zip
op-kernel-dev-d49584c4a37c7228e7778bcb60f79e7a08472fa8.tar.gz
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 <olegr@olegr.ca> Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud