diff options
| author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2016-02-20 16:18:57 +0900 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2016-02-20 15:45:25 +0100 |
| commit | 2a71e701660d7aa9ce1a740588dbf13b975deb10 (patch) | |
| tree | 39d699e3e8a66be4bd363df9d1cdb97570072a22 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | ALSA: bebob: simplify bus-reset handling (diff) | |
| download | linux-2a71e701660d7aa9ce1a740588dbf13b975deb10.tar.gz linux-2a71e701660d7aa9ce1a740588dbf13b975deb10.zip | |
ALSA: bebob: move mutex from function callee 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 substream 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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
