From: Jean Delvare Date: Thu, 22 Mar 2007 18:49:01 +0000 (+0100) Subject: i2c-i801: Restore the device state before leaving X-Git-Tag: v2.6.21-rc5~44^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5aaea37858fb56d624227408d1dde4cb78c9a6c;p=pandora-kernel.git i2c-i801: Restore the device state before leaving Restore the original host configuration on driver unload and on suspend. In particular this returns the SMBus master in I2C mode if it was originally in I2C mode, which should help with suspend/resume if the BIOS expects to find the SMBus master in I2C mode. This fixes bug #6449 (for real this time.) http://bugzilla.kernel.org/show_bug.cgi?id=6449 Signed-off-by: Jean Delvare Tested-by: Tommi Kyntola --- Reading git-diff-tree failed