Reset the PEC bit after every transaction. This partly reverts the

previous change. This is needed by some BIOSes at reboot and resume time.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3290 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2006-04-22 18:06:49 +00:00
1 parent 561eb551be
commit 4bab489796
1 file changed
+5
+5
View File
@@ -537,6 +537,11 @@ static s32 i801_access(struct i2c_adapter * adap, u16 addr,
ret = i801_transaction();
}
/* Some BIOSes don't like it when PEC is enabled at reboot or resume
time, so we forcibly disable it after every transaction. */
if (hwpec)
outb_p(0, SMBAUXCTL);
if(block)
return ret;
if(ret)