Skip to content

Commit

Permalink
hwmon: (w83627ehf) Use proper exit sequence
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonas Jonsson authored and Jean Delvare committed Sep 17, 2010
1 parent f17c811 commit 022b75a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/hwmon/w83627ehf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 022b75a

Please sign in to comment.