mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-20 11:29:31 +00:00
patch by David Knierim:
> [...] I've also included a simple patch to lm93.c to > increase the wait between retries if there is a timeout. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2835 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
4e055ca578
commit
9b230178b9
1 file changed
+3
-3
+3
-3
@@ -376,7 +376,7 @@ static u8 lm93_read_byte(struct i2c_client *client, u8 reg)
|
||||
} else {
|
||||
printk(KERN_WARNING "lm93.o: read byte data failed, "
|
||||
"address 0x%02x.\n", reg);
|
||||
mdelay(i);
|
||||
mdelay(i + 3);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -411,7 +411,7 @@ static u16 lm93_read_word(struct i2c_client *client, u8 reg)
|
||||
} else {
|
||||
printk(KERN_WARNING "lm93.o: read word data failed, "
|
||||
"address 0x%02x.\n", reg);
|
||||
mdelay(i);
|
||||
mdelay(i + 3);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -456,7 +456,7 @@ static void lm93_read_block(struct i2c_client *client, u8 fbn, u8 *values)
|
||||
printk(KERN_WARNING "lm93.o: block read data failed, "
|
||||
"command 0x%02x.\n",
|
||||
lm93_block_read_cmds[fbn].cmd);
|
||||
mdelay(1);
|
||||
mdelay(i + 3);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user