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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/maestro3.c b/sys/dev/sound/pci/maestro3.c
index ae679ca..2f9f802 100644
--- a/sys/dev/sound/pci/maestro3.c
+++ b/sys/dev/sound/pci/maestro3.c
@@ -1146,7 +1146,8 @@ m3_pci_attach(device_t dev)
/*filter*/NULL, /*filterarg*/NULL,
/*maxsize*/sc->bufsz, /*nsegments*/1,
/*maxsegz*/0x3ffff,
- /*flags*/0, &sc->parent_dmat) != 0) {
+ /*flags*/0, /*lockfunc*/busdma_lock_mutex,
+ /*lockarg*/&Giant, &sc->parent_dmat) != 0) {
device_printf(dev, "unable to create dma tag\n");
goto bad;
}
OpenPOWER on IntegriCloud