summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2001-02-27 18:40:07 +0000
committerscottl <scottl@FreeBSD.org>2001-02-27 18:40:07 +0000
commit79a9a1409356c9103b8b0343c60e5d1d70e73e9c (patch)
tree83ce7ef3a3ab3a93c31edaed76d1194c2e409d65
parent21c0f33eb6f3893684db867881dbcd4a72d8923b (diff)
downloadFreeBSD-src-79a9a1409356c9103b8b0343c60e5d1d70e73e9c.zip
FreeBSD-src-79a9a1409356c9103b8b0343c60e5d1d70e73e9c.tar.gz
Don't re-init the mixer on resume. This keeps the channel volumes from
being trashed when you suspend, though this may need to be revisited if we ever get suspend-to-disk implememted.
-rw-r--r--sys/dev/sound/pci/maestro3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c
index a5bd4c0..9551dee 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -1302,8 +1302,6 @@ m3_pci_resume(device_t dev)
reset_state = m3_assp_halt(sc);
- m3_codec_reset(sc);
-
/* Restore the ASSP state */
for (i = REV_B_CODE_MEMORY_BEGIN; i <= REV_B_CODE_MEMORY_END; i++)
m3_wr_assp_code(sc, i, sc->savemem[index++]);
OpenPOWER on IntegriCloud