diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-01-29 06:47:02 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:30:21 -0500 |
commit | edb54a55d2e36de2183a89efa97fadede33b1166 (patch) | |
tree | 7ae0b907222f3dffb7ff80626e8201c974b6e10c /sound | |
parent | c34f5a0469c64a3e4e84b04a691247b72175402d (diff) |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 1 | ||||
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8621c9f2eafd..586d98f1b63d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -1492,6 +1492,7 @@ static const char *alc_slave_sws[] = { | |||
1492 | "Headphone Playback Switch", | 1492 | "Headphone Playback Switch", |
1493 | "Speaker Playback Switch", | 1493 | "Speaker Playback Switch", |
1494 | "Mono Playback Switch", | 1494 | "Mono Playback Switch", |
1495 | "IEC958 Playback Switch", | ||
1495 | NULL, | 1496 | NULL, |
1496 | }; | 1497 | }; |
1497 | 1498 | ||
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 34890c54bd64..46c237b0e694 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -873,6 +873,7 @@ static const char *slave_sws[] = { | |||
873 | "Speaker Playback Switch", | 873 | "Speaker Playback Switch", |
874 | "External Speaker Playback Switch", | 874 | "External Speaker Playback Switch", |
875 | "Speaker2 Playback Switch", | 875 | "Speaker2 Playback Switch", |
876 | "IEC958 Playback Switch", | ||
876 | NULL | 877 | NULL |
877 | }; | 878 | }; |
878 | 879 | ||