diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-07 13:56:29 +0100 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 12:30:40 +0100 |
commit | 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d (patch) | |
tree | 7ec3b5952d03751e5d5da2d6254f8ce63ba2ba05 /sound/pci/hda/hda_codec.c | |
parent | f7a9275d949cb0bf1f259a1546e52a0bf518151c (diff) | |
download | lwn-4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d.tar.gz lwn-4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d.zip |
[ALSA] hda-codec - Small clean up and fixes
Modules: HDA Codec driver,HDA generic driver
- Common labels for input pins
- Fix and clean up of Realtek codec parsers
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.c')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index bd375f895ec0..4a6dd97deba6 100644 --- a/sound/pci/hda/hda_codec.c +++ b/sound/pci/hda/hda_codec.c @@ -2051,6 +2051,12 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec, struct auto_pin_cfg *c return 0; } +/* labels for input pins */ +const char *auto_pin_cfg_labels[AUTO_PIN_LAST] = { + "Mic", "Front Mic", "Line", "Front Line", "CD", "Aux" +}; + + #ifdef CONFIG_PM /* * power management |