]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: emu10k1: simplify freeing synth voices
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Thu, 18 May 2023 14:09:41 +0000 (16:09 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 May 2023 14:49:07 +0000 (16:49 +0200)
commitf26a4cf087cbfc9dc71bb3812e8e11ccac0d4d61
treeba3c921845670a924b4ec0d899849f6fd08b4939
parentfccd6f31a450d58109f64eda2dd9294e160fb0aa
ALSA: emu10k1: simplify freeing synth voices

snd_emu10k1_voice_free() resets the hardware itself, so doing that
in the calling function as well is redundant.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230518140947.3725394-2-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1_callback.c