diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-03-22 19:49:01 +0100 |
---|---|---|
committer | Jean Delvare <khali@arrakis.delvare> | 2007-03-22 19:49:01 +0100 |
commit | a5aaea37858fb56d624227408d1dde4cb78c9a6c (patch) | |
tree | e0470ae1e5c1e4d3114865e15c471f30bc047dea /kernel/sys.c | |
parent | 58791fd81dabdd0552c63625f231d16c9060ec84 (diff) |
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 <khali@linux-fr.org>
Tested-by: Tommi Kyntola <tommi.kyntola@ray.fi>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions