ALSA: hda - Make snd_hda_get_input_pin_attr() helper
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Sep 2010 12:42:34 +0000 (14:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Sep 2010 12:42:34 +0000 (14:42 +0200)
commit99ae28bea984df4c38234eb6d2f29a552def6c1b
treec3005c84d8fa092bfe5cb7642a0dd2f61dca977e
parent5637edb2e1c2d13b276748508ae17f319fb7f066
ALSA: hda - Make snd_hda_get_input_pin_attr() helper

Make the helper function to give the input-pin attribute for jack
connectivity and location.  This simplifies checks of input-pin jacks
a bit in some places.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_cirrus.c
sound/pci/hda/patch_conexant.c
sound/pci/hda/patch_realtek.c
sound/pci/hda/patch_sigmatel.c