]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] hwmon: Add PEC support to the lm90 driver
authorJean Delvare <khali@linux-fr.org>
Wed, 26 Oct 2005 19:39:40 +0000 (21:39 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 21:02:14 +0000 (14:02 -0700)
commit074886a67168b77461a32a078e9a57c4fbdfe389
treea510da8447852247907dd6896cdf51c7e3d60844
parentfdac8fc7e8cc77585405b1f8037b31692a75942a
[PATCH] hwmon: Add PEC support to the lm90 driver

Add PEC support to the lm90 driver. Only the ADM1032 chip supports it,
and in a rather tricky way, which is why this patch comes with
documentation reinforcements. At least, this demonstrates that the new
PEC support logic in i2c-core can properly deal with chips with partial
PEC support.

As enabling PEC causes a significant performance drop, it can be
disabled through a sysfs file (unsurprisingly named "pec").

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/hwmon/lm90
Documentation/hwmon/sysfs-interface
drivers/hwmon/lm90.c