summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-08-30 13:00:16 +0200
committerTakashi Iwai <tiwai@suse.de>2010-08-30 13:00:16 +0200
commitd7b1ae9d8851bd247590cf7ab53248a2dac0419f (patch)
tree7d1a2a6ecf9767f65866d5903345e10bc97ae276 /sound/pci/hda/hda_local.h
parent75e0eb24ee3ec3549c2e53707dcc87e5f7a2c791 (diff)
downloadlinux-stable-d7b1ae9d8851bd247590cf7ab53248a2dac0419f.tar.gz
linux-stable-d7b1ae9d8851bd247590cf7ab53248a2dac0419f.tar.bz2
linux-stable-d7b1ae9d8851bd247590cf7ab53248a2dac0419f.zip
ALSA: hda - Add snd_hda_get_input_pin_label() helper function
Added snd_hda_get_input_pin_label() helper function to return the string that can be used for control or capture-source ids. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index 44c909445ba2..fb561748adb8 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -391,6 +391,8 @@ struct auto_pin_cfg_item {
};
struct auto_pin_cfg;
+const char *snd_hda_get_input_pin_label(const struct auto_pin_cfg *cfg,
+ int input);
struct auto_pin_cfg {
int line_outs;