[ALSA] hda-codec - Control SPDIF as slave
authorTakashi Iwai <tiwai@suse.de>
Tue, 29 Jan 2008 11:47:02 +0000 (12:47 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:30:21 +0000 (17:30 +0100)
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>
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c

index 8621c9f..586d98f 100644 (file)
@@ -1492,6 +1492,7 @@ static const char *alc_slave_sws[] = {
        "Headphone Playback Switch",
        "Speaker Playback Switch",
        "Mono Playback Switch",
+       "IEC958 Playback Switch",
        NULL,
 };
 
index 34890c5..46c237b 100644 (file)
@@ -873,6 +873,7 @@ static const char *slave_sws[] = {
        "Speaker Playback Switch",
        "External Speaker Playback Switch",
        "Speaker2 Playback Switch",
+       "IEC958 Playback Switch",
        NULL
 };