Skip to contentSkip to conversation

ALSA: emu10k1: don't create regular S/PDIF controls for E-MU cards

PATCH Applied Oswald Buddenhagen 2 participants 2 messages May 10, 2023 – May 12, 2023 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: emu10k1: don't create regular S/PDIF controls for E-MU cards

These ports are unused on these cards.

---
 sound/pci/emu10k1/emumixer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/emu10k1/emumixer.c +1 -1
index 610700be1e37..48f0d3f8b8e7 100644
@@ -2055,7 +2055,7 @@ int snd_emu10k1_mixer(struct snd_emu10k1 *emu,
 		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 */
 		kctl = snd_ctl_new1(&snd_emu10k1_spdif_mask_control, emu);
 		if (!kctl)
Signature · 1 line
2.40.0.152.g15d061e6df