From ea0e6ecfe91a3fd293ed3a4ced5fd9ecb83dc909 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Tue, 27 Feb 2001 18:40:07 +0000 Subject: [PATCH] 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. --- sys/dev/sound/pci/maestro3.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index a5bd4c010c8..9551dee78b0 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++]);