diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-11-14 16:54:50 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-11-14 17:53:41 +0100 |
commit | ea54a37442639cf884918de69db46caf693490f8 (patch) | |
tree | d680a3337db1051284f9203003abe1a4767d6020 /README | |
parent | 5d5563b14fe34021b690eb3edc54abcc876e417c (diff) | |
download | linux-ea54a37442639cf884918de69db46caf693490f8.tar.gz linux-ea54a37442639cf884918de69db46caf693490f8.tar.bz2 linux-ea54a37442639cf884918de69db46caf693490f8.zip |
ALSA: fireworks: move mutex from function callees to callers
Currently, critical section is protected by mutex in functions of
fireworks_stream.c. Callers increments/decrements substreams counter
before calling the functions. Moving mutex to the callers code allows
to change type of the substeram counter from atomic_t to unsigned int.
This commit is a preparation for obsoleting usage of atomic_t for
substream counter.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions