Skip to content

Commit

Permalink
[ALSA] hda-codec - Add SPDIF controls as slave on AD codecs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
tiwai authored and perexg committed Jan 31, 2008
1 parent b5895dc commit 4806ef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/pci/hda/patch_analog.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ static const char *ad_slave_vols[] = {
"Headphone Playback Volume",
"Mono Playback Volume",
"Speaker Playback Volume",
"IEC958 Playback Volume",
NULL
};

Expand All @@ -151,6 +152,7 @@ static const char *ad_slave_sws[] = {
"Headphone Playback Switch",
"Mono Playback Switch",
"Speaker Playback Switch",
"IEC958 Playback Switch",
NULL
};

Expand Down Expand Up @@ -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
};

Expand Down

0 comments on commit 4806ef0

Please sign in to comment.