On Sat, 14 Nov 2015 08:54:49 +0100, Takashi Sakamoto wrote:
Hi,
This patchset is re-post of my previous one. http://mailman.alsa-project.org/pipermail/alsa-devel/2015-October/099553.htm...
This patchset is for refactoring of substream counting. Currently the counting is with atomic_t type. When utilizing lock by mutex in snd_efw structure, the counting can be simpler type, unsigned int so as the other ALSA firewire drivers do.
Takashi Sakamoto (2): ALSA: fireworks: move mutex from function callees to callers ALSA: fireworks: change type of substream counter from atomic_t to unsigned int
Applied both patches to topic/firewire-update branch, planned for merging to 4.5 kernel.
thanks,
Takashi
sound/firewire/fireworks/fireworks.h | 4 ++-- sound/firewire/fireworks/fireworks_midi.c | 16 +++++++++++---- sound/firewire/fireworks/fireworks_pcm.c | 28 +++++++++++++++++-------- sound/firewire/fireworks/fireworks_stream.c | 32 +++++++++++------------------ 4 files changed, 46 insertions(+), 34 deletions(-)
-- 2.5.0