Browse Source

[ALSA] hda-codec - Control SPDIF as slave

Add SPDIF playback switch to the slave element list so that it
can be toggled via the master control as well.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Takashi Iwai 17 years ago
parent
commit
edb54a55d2
2 changed files with 2 additions and 0 deletions
  1. 1 0
      sound/pci/hda/patch_realtek.c
  2. 1 0
      sound/pci/hda/patch_sigmatel.c

+ 1 - 0
sound/pci/hda/patch_realtek.c

@@ -1492,6 +1492,7 @@ static const char *alc_slave_sws[] = {
 	"Headphone Playback Switch",
 	"Speaker Playback Switch",
 	"Mono Playback Switch",
+	"IEC958 Playback Switch",
 	NULL,
 };
 

+ 1 - 0
sound/pci/hda/patch_sigmatel.c

@@ -873,6 +873,7 @@ static const char *slave_sws[] = {
 	"Speaker Playback Switch",
 	"External Speaker Playback Switch",
 	"Speaker2 Playback Switch",
+	"IEC958 Playback Switch",
 	NULL
 };