summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai2010-08-30 13:00:16 +0200
committerTakashi Iwai2010-08-30 13:00:16 +0200
commitd7b1ae9d8851bd247590cf7ab53248a2dac0419f (patch)
tree7d1a2a6ecf9767f65866d5903345e10bc97ae276 /sound/pci/hda/hda_local.h
parentALSA: hda - Add inputs[] to auto_pin_cfg struct (diff)
downloadkernel-qcow2-linux-d7b1ae9d8851bd247590cf7ab53248a2dac0419f.tar.gz
kernel-qcow2-linux-d7b1ae9d8851bd247590cf7ab53248a2dac0419f.tar.xz
kernel-qcow2-linux-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;