projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9cea64
)
hwmon/pc87360: Autodetect the VRM version
author
Jim Cromie
<jim.cromie@gmail.com>
Tue, 12 Dec 2006 17:18:28 +0000
(18:18 +0100)
committer
Jean Delvare
<khali@arrakis.delvare>
Tue, 12 Dec 2006 17:18:28 +0000
(18:18 +0100)
pc87360 currently hardcodes vrm = 90 (2.4 vintage). Update it to use
newer code in hwmon-vid which reads cpuid to determine the correct vid.
Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/pc87360.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/pc87360.c
b/drivers/hwmon/pc87360.c
index 3b8b81984ad4cf04ab3c0fdb91079654cbda519e..c8a21be09d8756cc612de0ebab23e7691ce973a8 100644
(file)
--- a/
drivers/hwmon/pc87360.c
+++ b/
drivers/hwmon/pc87360.c
@@
-1000,7
+1000,7
@@
static int pc87360_detect(struct i2c_adapter *adapter)
(i&0x02) ? "external" : "internal");
data->vid_conf = confreg[3];
- data->vrm =
90
;
+ data->vrm =
vid_which_vrm()
;
}
/* Fan clock dividers may be needed before any data is read */