This is a series of patches to fix problems of USB non-standard audio
drivers at disconnections. A few of them call snd_card_free() at the
disconnect callback, and this blocks until all files get closed. It
may eventually trigger a soft lockup, as spotted by syzkaller.
Those can be fixed by replacing with snd_card_free_when_closed()
version.
While looking through the code, I stumbled on other issues like 6fire
driver's release management, and the fix is included as well.
Takashi
===
Takashi Iwai (5):
ALSA: usx2y: Use snd_card_free_when_closed() at disconnection
ALSA: us122l: Use snd_card_free_when_closed() at disconnection
ALSA: us122l: Drop mmap_count field
ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
ALSA: 6fire: Release resources at card release
sound/usb/6fire/chip.c | 10 +++++-----
sound/usb/caiaq/audio.c | 10 ++++++++--
sound/usb/caiaq/audio.h | 1 +
sound/usb/caiaq/device.c | 19 +++++++++++++++----
sound/usb/caiaq/input.c | 12 +++++++++---
sound/usb/caiaq/input.h | 1 +
sound/usb/usx2y/us122l.c | 21 +--------------------
sound/usb/usx2y/us122l.h | 2 --
sound/usb/usx2y/usbusx2y.c | 2 +-
9 files changed, 41 insertions(+), 37 deletions(-)
--
2.43.0
[Index of Archives]
[Pulseaudio]
[Linux Audio Users]
[ALSA Devel]
[Fedora Desktop]
[Fedora SELinux]
[Big List of Linux Books]
[Yosemite News]
[KDE Users]