From 1c64b144173011e57e719d4f7d3b469bdf5e7b0f Mon Sep 17 00:00:00 2001 From: scottl Date: Wed, 4 Sep 2002 08:13:36 +0000 Subject: Sigh. The fix to the suspend code wasn't complete, since the resume code was broken in the same way. Submitted by: co9@xs4all.nl MFC after: 3 days --- sys/dev/sound/pci/maestro3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index ab4e1cb..bee274a 100644 --- a/sys/dev/sound/pci/maestro3.c +++ b/sys/dev/sound/pci/maestro3.c @@ -1311,9 +1311,9 @@ m3_pci_resume(device_t dev) /* 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]); + m3_wr_assp_code(sc, i, sc->savemem[index++]); for (i = REV_B_DATA_MEMORY_BEGIN; i <= REV_B_DATA_MEMORY_END; i++) - m3_wr_assp_data(sc, i, sc->savemem[++index]); + m3_wr_assp_data(sc, i, sc->savemem[index++]); /* Restart the DMA engine */ m3_wr_assp_data(sc, KDATA_DMA_ACTIVE, 0); -- cgit v1.1