1 2 3 4 5 6 7 8 9 10 11 12 13
--- a/sys/dev/sound/pci/emu10k1.c +++ b/sys/dev/sound/pci/emu10k1.c @@ -1198,8 +1198,10 @@ { struct sc_info *sc = (struct sc_info *)p; + snd_mtxlock(sc->lock); if (sc->mpu_intr) (sc->mpu_intr)(sc->mpu); + snd_mtxunlock(sc->lock); } static void