• Takashi Sakamoto's avatar
    ALSA: fireworks: serialize transactions to update connections at bus reset · 99d73559
    Takashi Sakamoto authored
    In IEC 61883-1, at bus-reset, applications can continue isochronous
    streaming by updating connections. In ALSA fireworks driver, the
    operation is executed in 'update' handler for bus driver.
    
    The connection resources are also changed in process contexts of PCM/MIDI
    applications. Therefore, bus-reset handling has race condition
    against connection. Current ALSA fireworks driver has a bug for the
    condition.
    
    This commit fixes the bug, by expand critical section with mutex. As a
    result, connection updating operation in bus-reset handler and connection
    changing operation in process context are serialized.
    Signed-off-by: 's avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
    Signed-off-by: 's avatarTakashi Iwai <tiwai@suse.de>
    99d73559
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
certs Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt Loading commit data...
.get_maintainer.ignore Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...