summaryrefslogtreecommitdiff
path: root/sys/dev/pci/azalia.c
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-06-27 21:47:08 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-06-27 21:47:08 +0000
commitd41b978186af813a0930f71b4972e6e4750be2c5 (patch)
tree338c63066072d8e4f9b1feebbf41f670316d9387 /sys/dev/pci/azalia.c
parent36c5964da8928b60ca04bb7631ec8eff4cb882b5 (diff)
don't probe "volume knobs" on resume. probably not needed and
is currently breaking resume. ok pirofti
Diffstat (limited to 'sys/dev/pci/azalia.c')
-rw-r--r--sys/dev/pci/azalia.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/azalia.c b/sys/dev/pci/azalia.c
index 78ead0e85f8..72c6c041fce 100644
--- a/sys/dev/pci/azalia.c
+++ b/sys/dev/pci/azalia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: azalia.c,v 1.172 2010/04/20 02:17:24 jakemsr Exp $ */
+/* $OpenBSD: azalia.c,v 1.173 2010/06/27 21:47:07 jakemsr Exp $ */
/* $NetBSD: azalia.c,v 1.20 2006/05/07 08:31:44 kent Exp $ */
/*-
@@ -1415,10 +1415,6 @@ azalia_resume_codec(codec_t *this)
azalia_restore_mixer(this);
- err = azalia_codec_enable_unsol(this);
- if (err)
- return err;
-
return(0);
}
@@ -1449,6 +1445,10 @@ azalia_resume(azalia_t *az)
if (err)
return err;
+ err = azalia_codec_enable_unsol(&az->codecs[az->codecno], 1);
+ if (err)
+ return err;
+
if (az->pstream.active) {
err = azalia_stream_start(&az->pstream);
if (err)