diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-10-27 20:47:07 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-16 11:10:16 +0100 |
commit | 04f5ade6afc4326dc6cd10d235500972fba548eb (patch) | |
tree | 14704ec6572b915e3516a9e2d038567448579342 /sound/pci/hda/hda_local.h | |
parent | 8b940fc457fbf883053caf397586a61bd3cae23e (diff) | |
download | linux-04f5ade6afc4326dc6cd10d235500972fba548eb.tar.gz linux-04f5ade6afc4326dc6cd10d235500972fba548eb.tar.bz2 linux-04f5ade6afc4326dc6cd10d235500972fba548eb.zip |
ALSA: hda - Introduce snd_hda_get_pin_label()
Create a new helper function snd_hda_get_pin_label() for getting a label
string for both input and output pins. hda_get_input_pin_label() is
obsoleted by this function, and the callers are replaced appropriately
now by this patch.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 618ddad17236..7a10fe95211e 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -394,11 +394,11 @@ struct auto_pin_cfg_item { }; struct auto_pin_cfg; -const char *hda_get_input_pin_label(struct hda_codec *codec, hda_nid_t pin, - int check_location); const char *hda_get_autocfg_input_label(struct hda_codec *codec, const struct auto_pin_cfg *cfg, int input); +const char *snd_hda_get_pin_label(struct hda_codec *codec, hda_nid_t nid, + const struct auto_pin_cfg *cfg); int snd_hda_add_imux_item(struct hda_input_mux *imux, const char *label, int index, int *type_index_ret); |