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

Takashi Iwai tiwai at suse.de
Sat Nov 14 17:56:22 CET 2015


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.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

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
> 


More information about the Alsa-devel mailing list