[PATCH 2.6] asb100 bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi nymisi, Greg:

* Nyeste Mih?ly <nymisi at freemail.hu> [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):


--- linux-2.6.5/drivers/i2c/chips/asb100.c.orig	2004-04-10 23:58:36.005741695 -0400
+++ linux-2.6.5/drivers/i2c/chips/asb100.c	2004-04-10 23:58:15.000000000 -0400
@@ -467,7 +467,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; \
 }



-- 
Mark M. Hoffman
mhoffman at lightlink.com



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux