projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5895dc
)
[ALSA] hda-codec - Add SPDIF controls as slave on AD codecs
author
Takashi Iwai
<
[email protected]
>
Sat, 26 Jan 2008 08:58:13 +0000
(09:58 +0100)
committer
Jaroslav Kysela
<
[email protected]
>
Thu, 31 Jan 2008 16:30:16 +0000
(17:30 +0100)
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]
>
sound/pci/hda/patch_analog.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_analog.c
b/sound/pci/hda/patch_analog.c
index 3a8f00e6c994bbedb5d6ff181f40a4441574c395..49140322e769ea01f876d4f7604a2ccfda895e61 100644
(file)
--- a/
sound/pci/hda/patch_analog.c
+++ b/
sound/pci/hda/patch_analog.c
@@
-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
};