ChangeSet 1.1643.36.27, 2004/04/12 15:17:01-07:00, mhoffman@lightlink.com [PATCH] I2C: fix asb100 bug Hi nymisi, Greg: * Nyeste Mihály [2004-01-27 16:02:04 +0100]: > Hi! > > I reported a bug of asb100 chip at: > http://www2.lm-sensors.nu/~lm78/readticket.cgi?ticket=1539 > > The reply was the follow: > > "Is there a BIOS option you can disable, e.g. Asus "COP", > "QFAN", or some such? My guess is that the BIOS is > somehow interfering with the asb100 driver. Otherwise > I don´t know how this could happen. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Yeah, I wrote that. "You do that, you go to the box, you know. Two minutes by yourself, and you feel shame, you know." - Denis the goalie Greg, please apply this fix (vs. 2.6.5): drivers/i2c/chips/asb100.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/i2c/chips/asb100.c b/drivers/i2c/chips/asb100.c --- a/drivers/i2c/chips/asb100.c Wed Apr 14 15:12:31 2004 +++ b/drivers/i2c/chips/asb100.c Wed Apr 14 15:12:31 2004 @@ -468,7 +468,7 @@ data->reg[nr] = TEMP_TO_REG(val); \ break; \ } \ - asb100_write_value(client, ASB100_REG_TEMP_##REG(nr), \ + asb100_write_value(client, ASB100_REG_TEMP_##REG(nr+1), \ data->reg[nr]); \ return count; \ }