projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e336f
)
ALSA: hda - Re-add input-source control for Realtek
author
Takashi Iwai
<tiwai@suse.de>
Fri, 31 Oct 2008 16:48:56 +0000
(17:48 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 31 Oct 2008 16:48:56 +0000
(17:48 +0100)
Re-added again "Input Source" control that was removed mistakenly
in the previous patchset.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index d511ce4b11ad20f4abde9b2c2a52d5bbac6412d3..88e54db0582cdc5126e67f24a5f367e6e69b7fc3 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-1351,6
+1351,15
@@
static struct snd_kcontrol_new alc_capture_mixer ## num[] = { \
.put = alc_cap_vol_put, \
.tlv = { .c = alc_cap_vol_tlv }, \
}, \
+ { \
+ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \
+ /* .name = "Capture Source", */ \
+ .name = "Input Source", \
+ .count = num, \
+ .info = alc_mux_enum_info, \
+ .get = alc_mux_enum_get, \
+ .put = alc_mux_enum_put, \
+ }, \
{ } /* end */ \
}