summaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-05-17 20:42:50 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-18 08:29:55 +0300
commitbe3b7629e13a5861b6988d46912212ac9f24c369 (patch)
tree4dce4d02ad3ec671044725820f24992c2265f4b9 /sound/pci
parent1e5323bd7725c1e3a5bd65af210ea7d54ccdbd00 (diff)
downloadlinux-be3b7629e13a5861b6988d46912212ac9f24c369.tar.xz
ALSA: emu10k1: remove pointless displacement of the extra voices
The idea is to make the extra voice lag behind the "real" voices, but moving the buffer address around doesn't contribute to that, as the CCCA write below uses the same address. The exact address is unimportant, as the data is discarded anyway. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230517174256.3657060-3-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/emu10k1/emupcm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/emu10k1/emupcm.c b/sound/pci/emu10k1/emupcm.c
index 27977d03e323..16e7d0ff97a4 100644
--- a/sound/pci/emu10k1/emupcm.c
+++ b/sound/pci/emu10k1/emupcm.c
@@ -288,10 +288,6 @@ static void snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu,
if (master) {
evoice->epcm->ccca_start_addr = start_addr + ccis;
- if (extra) {
- start_addr += ccis;
- end_addr += ccis;
- }
}
if (stereo && !extra) {
// Not really necessary for the slave, but it doesn't hurt