summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sound/pcm/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index 0f9503b..7e110772 100644
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -183,7 +183,7 @@ pcm_addchan(device_t dev, int dir, kobj_class_t cls, void *devinfo)
UID_ROOT, GID_WHEEL, 0666, "audio%d.%d", unit, d->chancount);
/* XXX SND_DEV_NORESET? */
d->chancount++;
- if (d->chancount == d->maxchans)
+ if (d->chancount == 1)
pcm_makelinks(NULL);
return 0;
}
OpenPOWER on IntegriCloud