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)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:18:21 +0000 (13:18 -0700)
commit0598e7854719a9897b5fb2bba47d82379116b52e
tree179263a2a7e033efe1fe1e217a25735bdf22d4de
parent810ace487c2f4705c51f2e6693e728afea031253
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>

(cherry picked from commit 201e06ffa9ef9b5265e636617f4fa20cd1490343)
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
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