]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita5c1f64f0f4c140d9dc4608bbd078cb709d1650e
tree7f358be955366d829c53c65c040980540320049b
parentba3eeed6c87abb5e998f8c82260ebb446f9c5840
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