From: Takashi Iwai Date: Tue, 29 Jan 2008 11:47:02 +0000 (+0100) Subject: [ALSA] hda-codec - Control SPDIF as slave X-Git-Tag: v2.6.25-rc1~1127^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edb54a55d2e36de2183a89efa97fadede33b1166;p=linux-2.6 [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 Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8621c9f2ea..586d98f1b6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/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, }; diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 34890c54bd..46c237b0e6 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/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 };