diff options
author | scottl <scottl@FreeBSD.org> | 2002-08-29 15:06:26 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2002-08-29 15:06:26 +0000 |
commit | 1986a94b82132d3e7898ec24ee7e632c5e884ad7 (patch) | |
tree | 942ba6676756ff72ef45266d1fa8518eb6f83da1 /sys/dev/sound | |
parent | 2da6cc170908a2d016233b6cdaa5a5dceddda142 (diff) | |
download | FreeBSD-src-1986a94b82132d3e7898ec24ee7e632c5e884ad7.zip FreeBSD-src-1986a94b82132d3e7898ec24ee7e632c5e884ad7.tar.gz |
Fix a silly off my one error that caused crashes on resume in certain
circumstances. The problem was only reported with -stable, but it's
obviously wrong in -current also. MFC is forthcoming.
Submitted by: doconnor@dsoft.com.au
Diffstat (limited to 'sys/dev/sound')
-rw-r--r-- | sys/dev/sound/pci/maestro3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c index 75ac4f6..ab4e1cb 100644 --- a/sys/dev/sound/pci/maestro3.c +++ b/sys/dev/sound/pci/maestro3.c @@ -1281,9 +1281,9 @@ m3_pci_suspend(device_t dev) /* Save the state of the ASSP */ for (i = REV_B_CODE_MEMORY_BEGIN; i <= REV_B_CODE_MEMORY_END; i++) - sc->savemem[++index] = m3_rd_assp_code(sc, i); + sc->savemem[index++] = m3_rd_assp_code(sc, i); for (i = REV_B_DATA_MEMORY_BEGIN; i <= REV_B_DATA_MEMORY_END; i++) - sc->savemem[++index] = m3_rd_assp_data(sc, i); + sc->savemem[index++] = m3_rd_assp_data(sc, i); /* Power down the card to D3 state */ m3_power(sc, 3); |