projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: fireworks: serialize transactions to update connections at bus reset
[cascardo/linux.git]
/
sound
/
firewire
/
fireworks
/
fireworks.c
diff --git
a/sound/firewire/fireworks/fireworks.c
b/sound/firewire/fireworks/fireworks.c
index
d5b19bc
..
8f27b67
100644
(file)
--- a/
sound/firewire/fireworks/fireworks.c
+++ b/
sound/firewire/fireworks/fireworks.c
@@
-301,7
+301,10
@@
static void efw_update(struct fw_unit *unit)
struct snd_efw *efw = dev_get_drvdata(&unit->device);
snd_efw_transaction_bus_reset(efw->unit);
+
+ mutex_lock(&efw->mutex);
snd_efw_stream_update_duplex(efw);
+ mutex_unlock(&efw->mutex);
}
static void efw_remove(struct fw_unit *unit)