aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-04-04 20:56:47 +0000
commit489c22ebb854d89934fe808f5d85f5dc4de85db5 (patch)
treeb793de57a7a8d6dd735f55c26084755dcbbc8156 /sys/dev/sound/pcm
parent4b97a93ad925f159ec5b8c4d1933e34da5cb0b67 (diff)
Notes
Diffstat (limited to 'sys/dev/sound/pcm')
-rw-r--r--sys/dev/sound/pcm/ac97.c2
-rw-r--r--sys/dev/sound/pcm/channel.c2
-rw-r--r--sys/dev/sound/pcm/mixer.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sound/pcm/ac97.c b/sys/dev/sound/pcm/ac97.c
index 7ae3a67260062..7765671886f06 100644
--- a/sys/dev/sound/pcm/ac97.c
+++ b/sys/dev/sound/pcm/ac97.c
@@ -498,7 +498,7 @@ ac97_create(device_t dev, void *devinfo, kobj_class_t cls)
return NULL;
snprintf(codec->name, AC97_NAMELEN, "%s:ac97", device_get_nameunit(dev));
- codec->lock = snd_mtxcreate(codec->name);
+ codec->lock = snd_mtxcreate(codec->name, "ac97 codec");
codec->methods = kobj_create(cls, M_AC97, M_WAITOK);
if (codec->methods == NULL) {
snd_mtxlock(codec->lock);
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index c55229ccc8d54..4c2752e1d554a 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -70,7 +70,7 @@ static int chn_buildfeeder(struct pcm_channel *c);
static void
chn_lockinit(struct pcm_channel *c)
{
- c->lock = snd_mtxcreate(c->name);
+ c->lock = snd_mtxcreate(c->name, "pcm channel");
}
static void
diff --git a/sys/dev/sound/pcm/mixer.c b/sys/dev/sound/pcm/mixer.c
index d4894a580b4aa..f732b3fc3a943 100644
--- a/sys/dev/sound/pcm/mixer.c
+++ b/sys/dev/sound/pcm/mixer.c
@@ -202,7 +202,7 @@ mixer_init(device_t dev, kobj_class_t cls, void *devinfo)
m = (struct snd_mixer *)kobj_create(cls, M_MIXER, M_WAITOK | M_ZERO);
snprintf(m->name, MIXER_NAMELEN, "%s:mixer", device_get_nameunit(dev));
- m->lock = snd_mtxcreate(m->name);
+ m->lock = snd_mtxcreate(m->name, "pcm mixer");
m->type = cls->name;
m->devinfo = devinfo;
m->busy = 0;