Changeset 674

Show
Ignore:
Timestamp:
12/24/99 20:44:34 (9 years ago)
Author:
frodo
Message:

Olaf Titz <olaf@bigred.inka.de> patches for the SIS5595 driver

It still does not work - but I need more feedback to determine what
is happening.

Files:

Legend:

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

    r654 r674  
    239239 
    240240  /* start the transaction by setting bit 4 */ 
    241   sis5595_write(SMB_CTL_LO,sis5595_read(SMB_CTL_LO)); 
     241  sis5595_write(SMB_CTL_LO,sis5595_read(SMB_CTL_LO)|0x10); 
    242242 
    243243  /* We will always wait for a fraction of a second! */ 
     
    251251#ifdef DEBUG 
    252252    printk("i2c-sis5595.o: SMBus Timeout!\n");  
     253#endif 
    253254    result = -1; 
    254 #endif 
    255255  } 
    256256 
     
    408408  } 
    409409  if (sis5595_initialized >= 1) { 
    410     release_region(sis5595_base, 2); 
     410    release_region(sis5595_base + SMB_INDEX, 2); 
    411411    sis5595_initialized--; 
    412412  }