diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-04-11 18:56:52 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-04-17 08:37:13 +0300 |
| commit | 763e5067aac91ce569a8b1212e6c31968bc7d325 (patch) | |
| tree | 0cad6a8be1127348f7a5fecf2bbe16b6ee38aa58 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 057666b69b1d51feb389a17ec73722b001aaf3d0 (diff) | |
| download | linux-763e5067aac91ce569a8b1212e6c31968bc7d325.tar.xz | |
ALSA: pcm: Clean up with snd_pcm_avail() and snd_pcm_hw_avail() helpers
Introduce two new direction-neutral helpers to calculate the avail and
hw_avail values, and clean up the code with them.
The two separated forward and rewind functions are gathered to the
unified functions.
No functional change but only code reductions.
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
