Changeset 3290

Show
Ignore:
Timestamp:
04/22/06 20:06:49 (3 years ago)
Author:
khali
Message:

Reset the PEC bit after every transaction. This partly reverts the
previous change. This is needed by some BIOSes at reboot and resume time.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/kernel/busses/i2c-i801.c

    r3221 r3290  
    538538        } 
    539539 
     540        /* Some BIOSes don't like it when PEC is enabled at reboot or resume 
     541           time, so we forcibly disable it after every transaction. */ 
     542        if (hwpec) 
     543                outb_p(0, SMBAUXCTL); 
     544 
    540545        if(block) 
    541546                return ret;