[alsa-devel] [PATCH 0/2] ALSA: fireworks: refactoring of substream counting

Takashi Sakamoto o-takashi at sakamocchi.jp
Sat Nov 14 08:54:49 CET 2015


Hi,

This patchset is re-post of my previous one.
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-October/099553.html

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

 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



More information about the Alsa-devel mailing list