summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auich.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/auich.c')
-rw-r--r--sys/dev/pci/auich.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/auich.c b/sys/dev/pci/auich.c
index 53c0a834666..fa410e0e178 100644
--- a/sys/dev/pci/auich.c
+++ b/sys/dev/pci/auich.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auich.c,v 1.19 2001/12/18 23:02:39 mickey Exp $ */
+/* $OpenBSD: auich.c,v 1.20 2001/12/19 04:14:32 provos Exp $ */
/*
* Copyright (c) 2000,2001 Michael Shalayeff
@@ -1059,7 +1059,8 @@ auich_powerhook(why, self)
}
sc->suspend = why;
auich_reset_codec(sc);
- auich_write_codec(sc, AC97_REG_EXT_AUDIO_CTRL, sc->ext_ctrl);
+ DELAY(1000);
(sc->codec_if->vtbl->restore_ports)(sc->codec_if);
+ auich_write_codec(sc, AC97_REG_EXT_AUDIO_CTRL, sc->ext_ctrl);
}
}