Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177830288
D60515.1795381677.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
595 B
Referenced Files
None
Subscribers
None
D60515.1795381677.diff
View Options
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
@@ -614,17 +614,12 @@
si->hw_info[0] = '\0';
si->intr_count = si->ack_count = 0;
} else {
- PCM_UNLOCKASSERT(d);
- PCM_LOCK(d);
-
strlcpy(si->shortname, device_get_nameunit(d->dev),
sizeof(si->shortname));
strlcpy(si->longname, device_get_desc(d->dev),
sizeof(si->longname));
strlcpy(si->hw_info, d->status, sizeof(si->hw_info));
si->intr_count = si->ack_count = 0;
-
- PCM_UNLOCK(d);
}
bus_topo_unlock();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 22, 9:07 PM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41843558
Default Alt Text
D60515.1795381677.diff (595 B)
Attached To
Mode
D60515: sound: Retire PCM_LOCK in sound_oss_card_info()
Attached
Detach File
Event Timeline