ALSA: hda - Fix surround/CLFE headphone and speaker pins order
authorTakashi Iwai <tiwai@suse.de>
Wed, 26 Oct 2011 14:06:27 +0000 (16:06 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 26 Oct 2011 14:26:18 +0000 (16:26 +0200)
commit8fa7ab48acb636d24669dab291807b487dfb2804
tree7f358be955366d829c53c65c040980540320049b
parent820bc19df20e1927054860513322742de5ebb6b3
ALSA: hda - Fix surround/CLFE headphone and speaker pins order

When 5.1 or more headphone or speaker pins are provided, the parser still
takes as is without fixing the order of channel mapping, which leads in
the unexpected strange channel order by surround outputs.

This patch fixes the issue by applying the same fix-up not only to
line_out_pins[] but also hp_pins[] and speaker_pins[].

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