]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 28 Jun 2011 10:48:03 +0000 (12:48 +0200)
commit0b0c8490670a77b937f502491ae9d5236aa4054a
tree817ba350193d4c1cd77546dbd0bbe0d68ee14ecf
parent738e11a7f5f432c0b4029a5690572e2ab1aa43e9
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