ALSA: hda - Avoid duplicated path creations
authorTakashi Iwai <tiwai@suse.de>
Fri, 4 Jan 2013 11:56:52 +0000 (12:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 12 Jan 2013 07:43:30 +0000 (08:43 +0100)
commit1e0b528696edf20ad38f494dda49c6195bee1b7f
tree34ff0e122d229a9c1cab80ba4957b2a394caf55b
parente1284af730792344f96e1428a6199e19699dfccc
ALSA: hda - Avoid duplicated path creations

When the paths are created in map_singles(), we don't have to
re-create new paths in try_assign_dacs().  Just evaluate the badness
and skip to the next item.

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