aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-01-26 03:58:13 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:30:16 -0500
commit4806ef0cf481a4e41f5046aaf1032a7601049ab6 (patch)
tree5eb42d702aeffa8ca13e3fae4c453be442d6642d
parentb5895dc8b467a2457f4d33bef51f9879cf780a07 (diff)
[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>
-rw-r--r--sound/pci/hda/patch_analog.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 3a8f00e6c994..49140322e769 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -139,6 +139,7 @@ static const char *ad_slave_vols[] = {
139 "Headphone Playback Volume", 139 "Headphone Playback Volume",
140 "Mono Playback Volume", 140 "Mono Playback Volume",
141 "Speaker Playback Volume", 141 "Speaker Playback Volume",
142 "IEC958 Playback Volume",
142 NULL 143 NULL
143}; 144};
144 145
@@ -151,6 +152,7 @@ static const char *ad_slave_sws[] = {
151 "Headphone Playback Switch", 152 "Headphone Playback Switch",
152 "Mono Playback Switch", 153 "Mono Playback Switch",
153 "Speaker Playback Switch", 154 "Speaker Playback Switch",
155 "IEC958 Playback Switch",
154 NULL 156 NULL
155}; 157};
156 158
@@ -3078,6 +3080,7 @@ static const char *ad1884_slave_vols[] = {
3078 "Internal Mic Playback Volume", 3080 "Internal Mic Playback Volume",
3079 "Docking Mic Playback Volume" 3081 "Docking Mic Playback Volume"
3080 "Beep Playback Volume", 3082 "Beep Playback Volume",
3083 "IEC958 Playback Volume",
3081 NULL 3084 NULL
3082}; 3085};
3083 3086