]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: hda - Create snd_hda_get_conn_index() helper function
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Jun 2011 10:45:47 +0000 (12:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Jun 2011 06:01:46 +0000 (08:01 +0200)
commit8d087c7600499463b7b8e3d4da4da40669cb8bfa
tree817ba350193d4c1cd77546dbd0bbe0d68ee14ecf
parent63f10d2ca78c17cdd612c1daee7daffacca8b7fb
ALSA: hda - Create snd_hda_get_conn_index() helper function

Create snd_hda_get_conn_index() helper function for obtaining the
connection index of the widget.  Replaced the similar codes used in
several codec-drivers with this common helper.

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