summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-09-04 08:13:36 +0000
committerscottl <scottl@FreeBSD.org>2002-09-04 08:13:36 +0000
commit1c64b144173011e57e719d4f7d3b469bdf5e7b0f (patch)
treeb6f904fa745ebaa3f3779c36af1b00764691ee82 /sys
parentb720c131c7532fffe5f7a40db73bd7fb3518a6ba (diff)
downloadFreeBSD-src-1c64b144173011e57e719d4f7d3b469bdf5e7b0f.zip
FreeBSD-src-1c64b144173011e57e719d4f7d3b469bdf5e7b0f.tar.gz
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
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pci/maestro3.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud