Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146224094
D48185.id151458.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
519 B
Referenced Files
None
Subscribers
None
D48185.id151458.diff
View Options
diff --git a/sys/dev/sound/pcm/vchan.c b/sys/dev/sound/pcm/vchan.c
--- a/sys/dev/sound/pcm/vchan.c
+++ b/sys/dev/sound/pcm/vchan.c
@@ -838,15 +838,8 @@
CHN_UNLOCK(c);
- if (!(parent->flags & CHN_F_BUSY))
- return (EBUSY);
-
- if (CHN_EMPTY(parent, children))
- return (EINVAL);
-
/* remove us from our parent's children list */
CHN_REMOVE(parent, c, children);
-
if (CHN_EMPTY(parent, children)) {
parent->flags &= ~(CHN_F_BUSY | CHN_F_HAS_VCHAN);
chn_reset(parent, parent->format, parent->speed);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 1, 9:50 PM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29126833
Default Alt Text
D48185.id151458.diff (519 B)
Attached To
Mode
D48185: sound: Do not fail from vchan_destroy() if children list is empty
Attached
Detach File
Event Timeline
Log In to Comment