[Bug 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 4 17:23:58 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727
--- Comment #22 from commit-hook at freebsd.org ---
A commit references this bug:
Author: hselasky
Date: Wed Mar 4 17:23:21 UTC 2020
New revision: 358629
URL: https://svnweb.freebsd.org/changeset/base/358629
Log:
Implement a detaching flag for the sound(4) subsystem to take
appropriate actions when we are trying to detach an audio device,
but cannot because someone is using it.
This avoids applications having to wait for the DSP read data
timeout before they receive any error indication.
Tested with virtual_oss(8).
Remove some unused definitions while at it.
PR: 194727
MFC after: 1 week
Sponsored by: Mellanox Technologies
Changes:
head/sys/dev/sound/pcm/dsp.c
head/sys/dev/sound/pcm/mixer.c
head/sys/dev/sound/pcm/sound.c
head/sys/dev/sound/pcm/sound.h
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-usb
mailing list