diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-12-07 07:56:29 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:40 -0500 |
commit | 4a471b7ddfe76e39c1633d5a23a687f4b5fc0d8d (patch) | |
tree | 7ec3b5952d03751e5d5da2d6254f8ce63ba2ba05 /sound/pci/hda/hda_codec.c | |
parent | f7a9275d949cb0bf1f259a1546e52a0bf518151c (diff) |
[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 | |||
2051 | return 0; | 2051 | return 0; |
2052 | } | 2052 | } |
2053 | 2053 | ||
2054 | /* labels for input pins */ | ||
2055 | const char *auto_pin_cfg_labels[AUTO_PIN_LAST] = { | ||
2056 | "Mic", "Front Mic", "Line", "Front Line", "CD", "Aux" | ||
2057 | }; | ||
2058 | |||
2059 | |||
2054 | #ifdef CONFIG_PM | 2060 | #ifdef CONFIG_PM |
2055 | /* | 2061 | /* |
2056 | * power management | 2062 | * power management |