Page MenuHomeFreeBSD

D60505.1793830543.diff
No OneTemporary

Authored By
Unknown
Size
662 B
Referenced Files
None
Subscribers
None

D60505.1793830543.diff

diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -1348,6 +1348,7 @@
{
struct pcm_channel *c;
+ PCM_BUSYASSERT(d);
KASSERT(!PCM_REGISTERED(d), ("%s(): still registered\n", __func__));
CHN_FOREACH(c, d, channels.pcm) {
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -411,9 +411,8 @@
PCM_ACQUIRE(d);
d->flags &= ~SD_F_REGISTERED;
- PCM_RELEASE(d);
-
chn_shutdownall(d);
+ PCM_RELEASE(d);
/*
* Destroy the dsp cdev before freeing resources, otherwise threads

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 4, 10:15 PM (17 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41415097
Default Alt Text
D60505.1793830543.diff (662 B)

Event Timeline