ALSA: hda - Use direct path reference in assign_out_path_ctls()
authorTakashi Iwai <tiwai@suse.de>
Mon, 7 Jan 2013 14:11:44 +0000 (15:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:44:03 +0000 (08:44 +0100)
commit0e614dd058ec8a426c16d2057fc814696c2381d9
tree2c5d657b20e937a4d58c853c9d443f1432781f03
parentcd5be3f9de8945f782e1bbeffd080876eb2aa9f8
ALSA: hda - Use direct path reference in assign_out_path_ctls()

Instead of looking through paths with the dac -> pin connection at
each time, just pass the already parsed path index to
assign_out_path_ctls().  This simplifies the code a bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_generic.c