Changeset 4047

Show
Ignore:
Timestamp:
06/21/06 10:45:48 (9 years ago)
Author:
khali
Message:

i2c-iop3xx: Fix return value of master_xfer method

Location:
i2c/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/CHANGES

    r4030 r4047  
    2121  Makefile: Fix i2c-pcf8584.h installation 
    2222  Makefile: Fix depmod on non-running kernel version 
     23  i2c-iop3xx: Fix return value of master_xfer method 
    2324 
    2425 
  • i2c/trunk/kernel/i2c-iop3xx.c

    r3964 r4047  
    464464 
    465465        DEB2( if ( ret!=0 ) printk(DFN" ERROR return %d [%d]\n", ret, im ) ); 
    466         return ret;    
     466        if (ret) 
     467                return ret; 
     468 
     469        return im; 
    467470#undef DFN 
    468471}