提交 022b75a3 编写于 作者: J Jonas Jonsson 提交者: 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: NJonas Jonsson <jonas@ludd.ltu.se>
Signed-off-by: NJean Delvare <khali@linux-fr.org>
上级 f17c811d
...@@ -127,6 +127,7 @@ superio_enter(int ioreg) ...@@ -127,6 +127,7 @@ superio_enter(int ioreg)
static inline void static inline void
superio_exit(int ioreg) superio_exit(int ioreg)
{ {
outb(0xaa, ioreg);
outb(0x02, ioreg); outb(0x02, ioreg);
outb(0x02, ioreg + 1); outb(0x02, ioreg + 1);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册