summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-07-08 11:41:53 +0000
committerrobert <robert@FreeBSD.org>2002-07-08 11:41:53 +0000
commit799302929ce9a3f509f26edca1552ad215bc2792 (patch)
treef7b55984c7df078fa9b3d0f10592205340f8b9dc /sys
parent76a86b952e4036fbc3a4b978a30cdf5526a9d301 (diff)
downloadFreeBSD-src-799302929ce9a3f509f26edca1552ad215bc2792.zip
FreeBSD-src-799302929ce9a3f509f26edca1552ad215bc2792.tar.gz
Reenable the m3 interrupts in m3_pci_resume() and do not
enable them in m3_pci_attach().
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 16d7088..75ac4f6 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -1044,8 +1044,6 @@ m3_init(struct sc_info *sc)
m3_wr_assp_data(sc, i, 0); /* zero entire dac/adc area */
}
- m3_enable_ints(sc);
-
/* [m3_assp_continue] */
m3_wr_1(sc, DSP_PORT_CONTROL_REG_B, reset_state | REGB_ENABLE_RESET);
@@ -1325,6 +1323,8 @@ m3_pci_resume(device_t dev)
m3_amp_enable(sc);
+ m3_enable_ints(sc);
+
if (mixer_reinit(dev) == -1) {
device_printf(dev, "unable to reinitialize the mixer\n");
return ENXIO;
OpenPOWER on IntegriCloud