Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175380882
D60514.id189181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
550 B
Referenced Files
None
Subscribers
None
D60514.id189181.diff
View Options
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -1355,7 +1355,6 @@
break;
case SNDCTL_DSP_GETCAPS:
- PCM_LOCK(d);
*arg_i = PCM_CAP_REALTIME | PCM_CAP_MMAP | PCM_CAP_TRIGGER;
if (rdch && wrch && !(pcm_getflags(d->dev) & SD_F_SIMPLEX))
*arg_i |= PCM_CAP_DUPLEX;
@@ -1363,7 +1362,6 @@
*arg_i |= PCM_CAP_VIRTUAL;
if (wrch && (wrch->flags & CHN_F_VIRTUAL) != 0)
*arg_i |= PCM_CAP_VIRTUAL;
- PCM_UNLOCK(d);
break;
case SOUND_PCM_READ_BITS:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 11, 10:39 AM (6 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40539360
Default Alt Text
D60514.id189181.diff (550 B)
Attached To
Mode
D60514: sound: Retire PCM_LOCK in SNDCTL_DSP_GETCAPS
Attached
Detach File
Event Timeline
Log In to Comment