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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux