[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>
This commit is contained in:
Takashi Iwai 2008-01-29 12:47:02 +01:00 committed by Jaroslav Kysela
parent c34f5a0469
commit edb54a55d2
2 changed files with 2 additions and 0 deletions

View File

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

View File

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