diff options
author | Ivan Orlov <ivan.orlov0322@gmail.com> | 2023-07-13 09:59:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-07-14 08:07:45 +0200 |
commit | f9d1b819307c242f2e648f16a05c0f908c525616 (patch) | |
tree | 36047e2638f31f7cbebe7820c774e6be1981df37 /sound/ppc/awacs.c | |
parent | ALSA: pcmtest: Add 'open' PCM callback error injection (diff) | |
download | linux-f9d1b819307c242f2e648f16a05c0f908c525616.tar.xz linux-f9d1b819307c242f2e648f16a05c0f908c525616.zip |
ALSA: pcmtest: minor optimizations
Decrease the buffer filling overhead with conditional remainder
calculation in the 'inc_buf_pos' inline function.
Fix the driver to use already defined variables where it is possible
in 'check_buf_block_ni' and 'fill_block_pattern_n' functions.
Signed-off-by: Ivan Orlov <ivan.orlov0322@gmail.com>
Link: https://lore.kernel.org/r/20230713075953.13692-2-ivan.orlov0322@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/ppc/awacs.c')
0 files changed, 0 insertions, 0 deletions