diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-10-31 17:48:56 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-10-31 17:48:56 +0100 |
commit | 3c3e9892a1dacca2ba9e05c196ab1ea99c544360 (patch) | |
tree | 12c57ef9cc649092c06ffdf7d0a4cccac018cd65 /sound/pci/hda/patch_realtek.c | |
parent | f9e336f65b666b8f1764d17e9b7c21c90748a37e (diff) | |
download | lwn-3c3e9892a1dacca2ba9e05c196ab1ea99c544360.tar.gz lwn-3c3e9892a1dacca2ba9e05c196ab1ea99c544360.zip |
ALSA: hda - Re-add input-source control for Realtek
Re-added again "Input Source" control that was removed mistakenly
in the previous patchset.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index d511ce4b11ad..88e54db0582c 100644 --- 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 */ \ } |