[ALSA] hda-codec - More fix-up for auto-configuration
authorTakashi Iwai <tiwai@suse.de>
Tue, 12 Feb 2008 17:30:12 +0000 (18:30 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:10 +0000 (12:00 +0200)
commit5832fcf8b55cfdbd7d8511f747d15fd20ed4703d
tree0231e6c86839c5ec14e5c017bab1f753b10538b4
parent5d5d5f43f1b835c375de9bd270cce030d16e2871
[ALSA] hda-codec - More fix-up for auto-configuration

In some cases, the BIOS sets up only the HP pins with different assoc
and sequence numbers, e.g. on FSC Esprimo with ALC262.

This patch adds a fix-up for such a case.  When multiple HPs are defined
and no line-outs is found, the configurator tries to re-assign some pins
from HP list to line-out, judging from the sequence number.

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