diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-10-27 22:47:07 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-16 14:10:16 +0400 |
commit | 04f5ade6afc4326dc6cd10d235500972fba548eb (patch) | |
tree | 14704ec6572b915e3516a9e2d038567448579342 /sound/pci/hda/patch_ca0110.c | |
parent | 8b940fc457fbf883053caf397586a61bd3cae23e (diff) | |
download | linux-04f5ade6afc4326dc6cd10d235500972fba548eb.tar.xz |
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/patch_ca0110.c')
-rw-r--r-- | sound/pci/hda/patch_ca0110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_ca0110.c b/sound/pci/hda/patch_ca0110.c index 993757b65736..6bd602bfe0fe 100644 --- a/sound/pci/hda/patch_ca0110.c +++ b/sound/pci/hda/patch_ca0110.c @@ -476,7 +476,7 @@ static void parse_input(struct hda_codec *codec) if (j >= cfg->num_inputs) continue; spec->input_pins[n] = pin; - spec->input_labels[n] = hda_get_input_pin_label(codec, pin, 1); + spec->input_labels[n] = snd_hda_get_pin_label(codec, pin, NULL); spec->adcs[n] = nid; n++; } |