summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pcm/sound.c
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-01-25 04:14:12 +0000
committerscottl <scottl@FreeBSD.org>2002-01-25 04:14:12 +0000
commit96d2f68a834c0946ed292f01a7ec3d9f03645db6 (patch)
treea881d355b3905e4df6b8949491498ef830cebdff /sys/dev/sound/pcm/sound.c
parentba4ccad7af410a746ed01fec7f04aea5b1eb10ac (diff)
downloadFreeBSD-src-96d2f68a834c0946ed292f01a7ec3d9f03645db6.zip
FreeBSD-src-96d2f68a834c0946ed292f01a7ec3d9f03645db6.tar.gz
Fix code that had rotted behind debugging macros.
Approved by: cg (in principle) MFC after: 2 weeks
Diffstat (limited to 'sys/dev/sound/pcm/sound.c')
-rw-r--r--sys/dev/sound/pcm/sound.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index 94065bc..cbd1bc1 100644
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -379,6 +379,7 @@ pcm_chn_create(struct snddev_info *d, struct pcm_channel *parent, kobj_class_t c
ch->pid = -1;
ch->parentsnddev = d;
ch->parentchannel = parent;
+ ch->dev = d->dev;
snprintf(ch->name, 32, "%s:%s:%d", device_get_nameunit(d->dev), dirs, ch->num);
err = chn_init(ch, devinfo, dir);
OpenPOWER on IntegriCloud