]> err.no Git - linux-2.6/commitdiff
[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 8621c9f2eafdc4dc288332793d5b061f3d7f008c..586d98f1b63d07b2373e40b4370fe7b233ed235a 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 34890c54bd640319f03276b4f556d9357c342262..46c237b0e694d11633346d680d325fffe436e710 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
 };