[ALSA] hda-codec - Add SPDIF controls as slave on AD codecs

The AD codecs have hardware SPDIF volume/switch controls but they
are not assigned to the slave list for virtual master controls.

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-26 09:58:13 +01:00 committed by Jaroslav Kysela
parent b5895dc8b4
commit 4806ef0cf4

View file

@ -139,6 +139,7 @@ static const char *ad_slave_vols[] = {
"Headphone Playback Volume",
"Mono Playback Volume",
"Speaker Playback Volume",
"IEC958 Playback Volume",
NULL
};
@ -151,6 +152,7 @@ static const char *ad_slave_sws[] = {
"Headphone Playback Switch",
"Mono Playback Switch",
"Speaker Playback Switch",
"IEC958 Playback Switch",
NULL
};
@ -3078,6 +3080,7 @@ static const char *ad1884_slave_vols[] = {
"Internal Mic Playback Volume",
"Docking Mic Playback Volume"
"Beep Playback Volume",
"IEC958 Playback Volume",
NULL
};