Changeset 3334

Show
Ignore:
Timestamp:
07/21/99 11:17:21 (15 years ago)
Author:
kmalkki
Message:

(Kyösti)

  • fixed smbus_write_quick emulation
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/i2c-core.c

    r3333 r3334  
    10121012        case I2C_SMBUS_QUICK: 
    10131013                msg[0].len = 0; 
    1014                 num = 1; /* Special case: The read/write field is used  
    1015                             as data */ 
     1014                /* Special case: The read/write field is used as data */ 
     1015                msg[0].flags = (read_write==I2C_SMBUS_READ)?I2C_M_RD:0; 
     1016                num = 1; 
    10161017                break; 
    10171018        case I2C_SMBUS_BYTE: