projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f17c811
)
hwmon: (w83627ehf) Use proper exit sequence
author
Jonas Jonsson
<jonas@ludd.ltu.se>
Fri, 17 Sep 2010 15:24:13 +0000
(17:24 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Fri, 17 Sep 2010 15:24:13 +0000
(17:24 +0200)
According to the datasheet for Winbond W83627DHG the proper way to exit
the Extended Function Mode is to write 0xaa to the EFER(0x2e or 0x4e).
Signed-off-by: Jonas Jonsson <jonas@ludd.ltu.se>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83627ehf.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/w83627ehf.c
b/drivers/hwmon/w83627ehf.c
index e96e69dd36fb4b4faba43ffad13b53815d06bc65..072c58008a633b713e1f68fd3a522572a41842d1 100644
(file)
--- a/
drivers/hwmon/w83627ehf.c
+++ b/
drivers/hwmon/w83627ehf.c
@@
-127,6
+127,7
@@
superio_enter(int ioreg)
static inline void
superio_exit(int ioreg)
{
+ outb(0xaa, ioreg);
outb(0x02, ioreg);
outb(0x02, ioreg + 1);
}