ALSA: HDA: Fix DAC assignment for secondary headphone on Sigmatel/IDT
authorDavid Henningsson <david.henningsson@canonical.com>
Wed, 5 Oct 2011 07:49:05 +0000 (09:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Oct 2011 10:56:40 +0000 (12:56 +0200)
commit48718eab5a719cb537466124d9585b3066e27fae
tree7dc0c07009a3219086de1bc900208980a080c524
parentce662bb205abdb2545252bce5a0ba11070c29305
ALSA: HDA: Fix DAC assignment for secondary headphone on Sigmatel/IDT

If we run out of DACs when trying to assign a DAC to a secondary
headphone, prefer the DAC of the first headphone to the primary
(usually line out) DAC.

BugLink: http://bugs.launchpad.net/bugs/845275
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c