diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-10-08 22:48:10 +0200 |
---|---|---|
committer | Mark M. Hoffman <mhoffman@lightlink.com> | 2007-10-10 04:56:32 +0200 |
commit | 889af3d5d9586db795a06c619e416b4baee11da8 (patch) | |
tree | b52778c9da75e43e9bf629403596f50ae22fccdd /drivers/hwmon/lm87.c | |
parent | hwmon: (w83781d) Add individual alarm and beep files (diff) | |
download | linux-889af3d5d9586db795a06c619e416b4baee11da8.tar.xz linux-889af3d5d9586db795a06c619e416b4baee11da8.zip |
hwmon: (lm87) Disable VID when it should be
A stupid bit shifting bug caused the VID value to be always exported
even when the hardware is configured for something different.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'drivers/hwmon/lm87.c')
-rw-r--r-- | drivers/hwmon/lm87.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index 7f806a05890d..28cdff0c556b 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c @@ -146,7 +146,7 @@ static u8 LM87_REG_TEMP_LOW[3] = { 0x3A, 0x38, 0x2C }; #define CHAN_NO_FAN(nr) (1 << (nr)) #define CHAN_TEMP3 (1 << 2) #define CHAN_VCC_5V (1 << 3) -#define CHAN_NO_VID (1 << 8) +#define CHAN_NO_VID (1 << 7) /* * Functions declaration |