Fix intrhook release in MFI as well
This commit is contained in:
parent
55550830cf
commit
3e0ca40a54
@ -1263,8 +1263,6 @@ mfi_startup(void *arg)
|
||||
|
||||
sc = (struct mfi_softc *)arg;
|
||||
|
||||
config_intrhook_disestablish(&sc->mfi_ich);
|
||||
|
||||
sc->mfi_enable_intr(sc);
|
||||
sx_xlock(&sc->mfi_config_lock);
|
||||
mtx_lock(&sc->mfi_io_lock);
|
||||
@ -1273,6 +1271,8 @@ mfi_startup(void *arg)
|
||||
mfi_syspdprobe(sc);
|
||||
mtx_unlock(&sc->mfi_io_lock);
|
||||
sx_xunlock(&sc->mfi_config_lock);
|
||||
|
||||
config_intrhook_disestablish(&sc->mfi_ich);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user