• Jean Delvare's avatar
    [PATCH] hwmon: Add PEC support to the lm90 driver · c3df5806
    Jean Delvare authored
    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: default avatarJean Delvare <khali@linux-fr.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    c3df5806
lm90.c 22.3 KB