summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-11-14 16:54:50 +0900
committerTakashi Iwai <tiwai@suse.de>2015-11-14 17:53:41 +0100
commitea54a37442639cf884918de69db46caf693490f8 (patch)
treed680a3337db1051284f9203003abe1a4767d6020 /README
parent5d5563b14fe34021b690eb3edc54abcc876e417c (diff)
downloadlinux-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