ALSA: hdmi - fix surround41 channel mapping
authorJerry Zhou <jerry.zhou@intel.com>
Tue, 21 Sep 2010 06:44:51 +0000 (14:44 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2010 07:51:00 +0000 (09:51 +0200)
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>
sound/pci/hda/patch_hdmi.c

index 1f4ae1aeca44dbb4bd4349af85ff5da6a7a634e7..d3e49aa5b9ecd42f6db6f5892319e6602ad9b7ab 100644 (file)
@@ -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 */