projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d4a137
)
hwmon: (lm87) Disable VID when it should be
author
Jean Delvare
<khali@linux-fr.org>
Mon, 8 Oct 2007 20:48:10 +0000
(22:48 +0200)
committer
Mark M. Hoffman
<mhoffman@lightlink.com>
Wed, 10 Oct 2007 02:56:32 +0000
(22:56 -0400)
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>
drivers/hwmon/lm87.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/lm87.c
b/drivers/hwmon/lm87.c
index 7f806a05890dfe1d93f80902951e5ae918d92d82..28cdff0c556b35eb9dba9f20ed3e9256ea26ac5b 100644
(file)
--- 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