summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/superio/common/conf_mode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/superio/common/conf_mode.c b/src/superio/common/conf_mode.c
index cbe1a9efb7..dec630bfa4 100644
--- a/src/superio/common/conf_mode.c
+++ b/src/superio/common/conf_mode.c
@@ -67,8 +67,7 @@ void pnp_enter_conf_mode_870155aa(struct device *dev)
void pnp_exit_conf_mode_0202(struct device *dev)
{
- outb(0x02, dev->path.pnp.port);
- outb(0x02, dev->path.pnp.port + 1);
+ pnp_write_config(dev, 0x02, (1 << 1));
}