projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4bb75c
)
ALSA: emu10k1: don't create regular S/PDIF controls for E-MU cards
author
Oswald Buddenhagen
<oswald.buddenhagen@gmx.de>
Wed, 10 May 2023 17:37:22 +0000
(19:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 12 May 2023 06:58:41 +0000
(08:58 +0200)
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>
sound/pci/emu10k1/emumixer.c
patch
|
blob
|
history
diff --git
a/sound/pci/emu10k1/emumixer.c
b/sound/pci/emu10k1/emumixer.c
index 610700be1e37cb49b543aaf283115f613be6c7cb..48f0d3f8b8e704f2c86d8edbda0139451ec90953 100644
(file)
--- a/
sound/pci/emu10k1/emumixer.c
+++ b/
sound/pci/emu10k1/emumixer.c
@@
-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)