From: Oleg Ryjkov Date: Sat, 13 Oct 2007 21:56:33 +0000 (+0200) Subject: i2c-nforce2: Move status checking to a separate function X-Git-Tag: v2.6.24-rc1~1338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4153549734cbdba24e9cf5eb200b70b7b1572e15;p=pandora-kernel.git i2c-nforce2: Move status checking to a separate function This is the first part of the patch that adds a function to reset the nvidia MCP51/55 i2c controller, if something bad happens to it (e.g. a slave sends a wrong byte count during a block transaction). This patch just adds nforce2_check_status function. It was originally written by Hans-Frieder Vogt. The reason that I'm the one sending it is: - I relied on it for the second part of the patch, - It makes the driver code cleaner/better. Signed-off-by: Oleg Ryjkov Signed-off-by: Jean Delvare --- Reading git-diff-tree failed