aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJerry Zhou <jerry.zhou@intel.com>2010-09-21 14:44:51 +0800
committerTakashi Iwai <tiwai@suse.de>2010-09-21 09:51:00 +0200
commit9396d3174b761685d6fefb1103e66b96a2e5db6d (patch)
tree0b93284d096b1aa88deffadac7354adc74f41215 /sound
parent53d7d69d8ffdfa60c5b66cc2e9ee0774aaaef5c0 (diff)
downloadmrst-s0i3-test-9396d3174b761685d6fefb1103e66b96a2e5db6d.tar.gz
mrst-s0i3-test-9396d3174b761685d6fefb1103e66b96a2e5db6d.tar.xz
mrst-s0i3-test-9396d3174b761685d6fefb1103e66b96a2e5db6d.zip
ALSA: hdmi - fix surround41 channel mapping
Channel 2 and channel 3 were all wrongly mapped to HDMI slot 4. This shows up as a bug that one channel is "lost" when playing in surround41 mode. Signed-off-by: Jerry Zhou <jerry.zhou@intel.com> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 1f4ae1aeca4..d3e49aa5b9e 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -193,7 +193,7 @@ static int hdmi_channel_mapping[0x32][8] = {
/* 4ch */
[0x03] = { 0x00, 0x11, 0x23, 0x32, 0x44, 0xf5, 0xf6, 0xf7 },
/* surround41 */
- [0x09] = { 0x00, 0x11, 0x24, 0x34, 0x43, 0xf2, 0xf6, 0xf7 },
+ [0x09] = { 0x00, 0x11, 0x24, 0x35, 0x42, 0xf3, 0xf6, 0xf7 },
/* surround50 */
[0x0a] = { 0x00, 0x11, 0x24, 0x35, 0x43, 0xf2, 0xf6, 0xf7 },
/* surround51 */