Skip to content

Commit

Permalink
[ALSA] hda-codec - Control SPDIF as slave
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
  • Loading branch information
tiwai authored and perexg committed Jan 31, 2008
1 parent c34f5a0 commit edb54a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -1492,6 +1492,7 @@ static const char *alc_slave_sws[] = {
"Headphone Playback Switch",
"Speaker Playback Switch",
"Mono Playback Switch",
"IEC958 Playback Switch",
NULL,
};

Expand Down
1 change: 1 addition & 0 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,7 @@ static const char *slave_sws[] = {
"Speaker Playback Switch",
"External Speaker Playback Switch",
"Speaker2 Playback Switch",
"IEC958 Playback Switch",
NULL
};

Expand Down

0 comments on commit edb54a5

Please sign in to comment.