Commit 022b75a3 authored by Jonas Jonsson's avatar Jonas Jonsson Committed by Jean Delvare

hwmon: (w83627ehf) Use proper exit sequence

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: default avatarJonas Jonsson <jonas@ludd.ltu.se>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent f17c811d
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment