Changeset 3872
- Timestamp:
- 12/13/03 16:44:52 (9 years ago)
- Location:
- i2c/trunk/kernel
- Files:
-
- 3 modified
-
i2c-algo-bit.c (modified) (2 diffs)
-
i2c-core.c (modified) (3 diffs)
-
i2c-elektor.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/kernel/i2c-algo-bit.c
r3852 r3872 180 180 sdahi(adap); 181 181 if (sclhi(adap)<0){ /* timeout */ 182 DEB2(printk(KERN_DEBUG " i2c_outb: 0x%02x, timeout at ack\n", c&0xff));183 return -ETIMEDOUT;182 DEB2(printk(KERN_DEBUG " i2c_outb: 0x%02x, timeout at ack\n", c&0xff)); 183 return -ETIMEDOUT; 184 184 }; 185 185 /* read ack: SDA should be pulled down by slave */ … … 490 490 ret = bit_doAddress(i2c_adap, pmsg); 491 491 if ((ret != 0) && !nak_ok) { 492 DEB2(printk(KERN_DEBUG "i2c-algo-bit.o: NAK from device addr %2.2x msg #%d\n"493 ,msgs[i].addr,i));494 return (ret<0) ? ret : -EREMOTEIO;492 DEB2(printk(KERN_DEBUG "i2c-algo-bit.o: NAK from device addr %2.2x msg #%d\n", 493 msgs[i].addr,i)); 494 return (ret<0) ? ret : -EREMOTEIO; 495 495 } 496 496 } -
i2c/trunk/kernel/i2c-core.c
r3828 r3872 132 132 break; 133 133 if (I2C_ADAP_MAX == i) { 134 printk( KERN_WARNING "i2c-core.o: unregister_adapter adap [%s] not found.\n",134 printk(KERN_WARNING "i2c-core.o: unregister_adapter adap [%s] not found.\n", 135 135 adap->name); 136 136 res = -ENODEV; … … 175 175 176 176 adapters[i] = NULL; 177 DEB(printk(KERN_DEBUG "i2c-core.o: adapter unregistered: %s\n",adap->name));177 DEB(printk(KERN_DEBUG "i2c-core.o: adapter unregistered: %s\n",adap->name)); 178 178 ERROR0: 179 179 up(&core_lists); … … 753 753 return (ret == 1 )? count : ret; 754 754 } else { 755 printk(KERN_ DEBUG"i2c-core.o: I2C adapter %04x: I2C level transfers not supported\n",755 printk(KERN_ERR "i2c-core.o: I2C adapter %04x: I2C level transfers not supported\n", 756 756 client->adapter->id); 757 757 return -ENOSYS; -
i2c/trunk/kernel/i2c-elektor.c
r3856 r3872 251 251 goto fail; 252 252 253 printk(KERN_ ERR"i2c-elektor.o: found device at %#x.\n", base);253 printk(KERN_DEBUG "i2c-elektor.o: found device at %#x.\n", base); 254 254 255 255 return 0;
