diff options
| author | Takashi Sakamoto <[email protected]> | 2017-08-03 20:20:43 +0900 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2017-08-04 16:50:56 +0200 |
| commit | 450296f305f139ccb363657efcea439afa4e762a (patch) | |
| tree | 588a6b7d4625b445d98221c9dd776a75ea9f2255 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 30d8340b5857550007ab6fe9744e4384dfa6e55c (diff) | |
ALSA: control: code refactoring TLV ioctl handler
In a design of ALSA control core, execution path bifurcates depending on
target element. When a set with the target element has a handler, it's
called. Else, registered buffer is copied to user space. These two
operations are apparently different. In current implementation, they're
on the same function with a condition statement. This makes it a bit hard
to understand conditions of each case.
This commit splits codes for these two cases.
Signed-off-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions