ALSA: emu10k1: don't create old pass-through playback device on Audigy
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>
Wed, 5 Apr 2023 20:12:20 +0000 (22:12 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Apr 2023 06:15:37 +0000 (08:15 +0200)
commit8dd13214a810c695044aa168c0ddba1a9c433e4f
treef497b32ab1900064cfe9054c4827587198547833
parentb09c551c77c7e01dc6e4f3c8bf06b5ffa7b06db5
ALSA: emu10k1: don't create old pass-through playback device on Audigy

It could have never worked, as snd_emu10k1_fx8010_playback_prepare() and
snd_emu10k1_fx8010_playback_hw_free() assume the emu10k1 offset for the
ETRAM, and the default DSP code includes no handler for it. It also
wouldn't make a lot of sense to make it work, as Audigy has an own, much
simpler, pass-through mechanism. So just skip creation of the device.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20230405201220.2197938-1-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emupcm.c