Changeset 2788
- Timestamp:
- 12/07/04 16:32:19 (9 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
kernel/chips/lm93.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r2786 r2788 46 46 Knierim) 47 47 Fix compilation breaking C99-ism (Axel Thimm) 48 Fix block read retries 48 49 Module pc87360: Support secondary Super-I/O address 49 50 Module smsc47m1: Add support for 47M15x and 47M192 (fans only) 50 51 Library: Add lm63 support 51 52 Add lpc47b397 support 53 Programs *.init: Rename lockfile to match file name 52 54 Programs i2cset, isaset: Written byte/word can be masked 53 55 Program decode-vaio.pl: Find eeproms on non-0 i2c bus too -
lm-sensors/trunk/kernel/chips/lm93.c
r2784 r2788 445 445 static void lm93_read_block(struct i2c_client *client, u8 fbn, u8 *values) 446 446 { 447 int i, result ;447 int i, result=0; 448 448 449 449 for (i = 1; i <= MAX_RETRIES; i++) { … … 451 451 lm93_block_read_cmds[fbn].cmd, lm93_block_buffer); 452 452 453 if (result != lm93_block_read_cmds[fbn].len) { 453 if (result == lm93_block_read_cmds[fbn].len) { 454 break; 455 } else { 454 456 printk(KERN_WARNING "lm93.o: block read data failed, " 455 457 "command 0x%02x.\n",
