diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-12-19 04:14:33 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-12-19 04:14:33 +0000 |
commit | 0dae6f47960de9ea0ed8ed3d1b078234143a7e1f (patch) | |
tree | ac4fff45f01f78a75f92f8235830fb8e72076816 /sys/dev | |
parent | 02ad07533f63bb2d77bce48ce6f47287a4fd459d (diff) |
unbreak mickey commit; make vra work after resume. previous commit
was based on jcs@openbsd yds changed btw.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/auich.c | 5 |
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); } } |