]> 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)
commitb6d1d6126a0a471f25fb547c5e806de94d030fd8
tree7f358be955366d829c53c65c040980540320049b
parentce832d4cc9e4b1f57b495130fd4e866f351612f8
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