ALSA: hda/realtek - Try harder to fit the single-connections
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Feb 2012 17:39:45 +0000 (18:39 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 16 Feb 2012 17:39:45 +0000 (18:39 +0100)
commit185d99f1924ee0047bcd524c58a01c9f8d58d673
treeeff485fb271d778db9090dff4aaf431d44c670fe
parent1c4a54b4513c175ba1a56d0aba8d9cf8f231d407
ALSA: hda/realtek - Try harder to fit the single-connections

So far, the Realtek driver tires to assign the single-connected routes
for all pins only once at the beginning.  However, since some DACs have
been already mapped, the rest pins might have also single conections.

In this patch, the driver does the single-connection assignment in a
loop until all possbile single-connections are checked.  This will
improve the DAC assignment, e.g. for ASUS G72.

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