mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 08:31:37 +00:00
ALSA: emu10k1: don't create regular S/PDIF controls for E-MU cards
These ports are unused on these cards. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230510173722.3072439-1-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
a4bb75c4f1
commit
a8661af513
@ -2055,7 +2055,7 @@ int snd_emu10k1_mixer(struct snd_emu10k1 *emu,
|
|||||||
mix->attn[0] = 0xffff;
|
mix->attn[0] = 0xffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! emu->card_capabilities->ecard) { /* FIXME: APS has these controls? */
|
if (!emu->card_capabilities->ecard && !emu->card_capabilities->emu_model) {
|
||||||
/* sb live! and audigy */
|
/* sb live! and audigy */
|
||||||
kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu);
|
kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu);
|
||||||
if (!kctl)
|
if (!kctl)
|
||||||
|
Loading…
Reference in New Issue
Block a user