summaryrefslogtreecommitdiffstats
path: root/sound/ppc/awacs.c
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-07-13 09:59:53 +0200
committerTakashi Iwai <tiwai@suse.de>2023-07-14 08:07:45 +0200
commitf9d1b819307c242f2e648f16a05c0f908c525616 (patch)
tree36047e2638f31f7cbebe7820c774e6be1981df37 /sound/ppc/awacs.c
parentALSA: pcmtest: Add 'open' PCM callback error injection (diff)
downloadlinux-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