summaryrefslogtreecommitdiffstats
path: root/sound/atmel
diff options
context:
space:
mode:
authorIvan Orlov <ivan.orlov0322@gmail.com>2023-07-13 11:59:53 +0400
committerTakashi Iwai <tiwai@suse.de>2023-07-14 08:07:45 +0200
commitf9d1b819307c242f2e648f16a05c0f908c525616 (patch)
tree36047e2638f31f7cbebe7820c774e6be1981df37 /sound/atmel
parent678a0bbe158076805843f6a58aa09b365fc43871 (diff)
downloadlinux-stable-f9d1b819307c242f2e648f16a05c0f908c525616.tar.gz
linux-stable-f9d1b819307c242f2e648f16a05c0f908c525616.tar.bz2
linux-stable-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/atmel')
0 files changed, 0 insertions, 0 deletions