[alsa-devel] [PATCH 0/2] ALSA: fireworks: refactoring of substream counting
Takashi Sakamoto
o-takashi at sakamocchi.jp
Sat Oct 24 04:28:30 CEST 2015
Hi,
This patchset is for refactoring of substream counting. Currently the
counting has atomic_t type. When utilizing lock by mutex in snd_efw
structure, the counting can have simpler type, unsigned int.
Takashi Sakamoto (2):
fireworks: move mutex from function callees to callers
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.1.4
More information about the Alsa-devel
mailing list