Changeset 4237

Show
Ignore:
Timestamp:
11/13/06 20:32:39 (7 years ago)
Author:
khali
Message:

i2c-elv: Fix test during device initialization (Willy Tarreau).

Location:
i2c/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/CHANGES

    r4215 r4237  
    1515  i2c-core: Drop useless bitmasking (2.6 backport) 
    1616  i2c-algo-bit: Cleanups (2.6 backport) 
     17  i2c-elv: Fix test during device initialization (Willy Tarreau) 
    1718 
    18192.10.1 (20060924) 
  • i2c/trunk/kernel/i2c-elv.c

    r3935 r4237  
    9898        outb(0x0c,base+2);      /* SLCT auf low         */ 
    9999        udelay(400); 
    100         if (!(inb(base+1) && 0x10)) { 
     100        if (!(inb(base+1) & 0x10)) { 
    101101                outb(0x04,base+2); 
    102102                DEBINIT(printk(KERN_DEBUG "i2c-elv.o: Select was high.\n"));