summaryrefslogtreecommitdiff
path: root/sound/pci/emu10k1/emufx.c
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-05-14 20:03:23 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-15 23:00:56 +0300
commit2e9bd50f117ea3f638802627a196949f7eefcf02 (patch)
tree66aa59c2bcba9d538d055158119699d44a4b051d /sound/pci/emu10k1/emufx.c
parent2093dcfc04e1477efd47d3acf0adc4582dc5f4f6 (diff)
downloadlinux-2e9bd50f117ea3f638802627a196949f7eefcf02.tar.xz
ALSA: emu10k1: optimize mask calculation in snd_emu10k1_ptr_read()
Unlike in snd_emu10k1_ptr_write(), we don't need to keep the value's bits in place, so we can save one shift. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230514170323.3408798-4-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/emufx.c')
0 files changed, 0 insertions, 0 deletions