ALSA: hda - Give more unique names by snd_hda_get_pin_label()
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 14:33:26 +0000 (15:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Nov 2011 14:48:23 +0000 (15:48 +0100)
commit201e06ffa9ef9b5265e636617f4fa20cd1490343
tree426dc4d85dde40d2a834d34a374bee9c2f2ad53a
parentbf815bf0a3c3b8ad6cd97cda6bc29cc3708fe749
ALSA: hda - Give more unique names by snd_hda_get_pin_label()

The function now gives more unique names for the output pins by adding
some prefix and suffix for the location and the channels.  Otherwise, it
can pass the index number.

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