mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
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:
1 parent
561eb551be
commit
4bab489796
1 file changed
+5
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user