Reenable the m3 interrupts in m3_pci_resume() and do not
enable them in m3_pci_attach().
This commit is contained in:
parent
bfdf38fb57
commit
0a17f47b92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99586
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user