summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/maestro3.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/pci/maestro3.c')
-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 49486cb..b38b334 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -1172,6 +1172,8 @@ m3_pci_attach(device_t dev)
goto bad;
}
+ m3_enable_ints(sc);
+
if (pcm_register(dev, sc, M3_PCHANS, M3_RCHANS)) {
device_printf(dev, "pcm_register error\n");
goto bad;
@@ -1321,8 +1323,6 @@ m3_pci_resume(device_t dev)
/* [m3_assp_continue] */
m3_wr_1(sc, DSP_PORT_CONTROL_REG_B, reset_state | REGB_ENABLE_RESET);
- m3_enable_ints(sc);
-
m3_amp_enable(sc);
if (mixer_reinit(dev) == -1) {
OpenPOWER on IntegriCloud