From: Wu Fengguang Date: Wed, 18 Nov 2009 04:38:00 +0000 (+0800) Subject: ALSA: intelhdmi - fix channel mapping slot mask X-Git-Tag: v2.6.33-rc1~390^2^2~26 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1e7c10fefadb42d9300305c7de57bea365855e9b;p=karo-tx-linux.git ALSA: intelhdmi - fix channel mapping slot mask Signed-off-by: Wu Fengguang Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_intelhdmi.c b/sound/pci/hda/patch_intelhdmi.c index ad1aa5d87dda..82312c67f8dd 100644 --- a/sound/pci/hda/patch_intelhdmi.c +++ b/sound/pci/hda/patch_intelhdmi.c @@ -433,7 +433,7 @@ static void hdmi_debug_channel_mapping(struct hda_codec *codec, hda_nid_t nid) slot = snd_hda_codec_read(codec, nid, 0, AC_VERB_GET_HDMI_CHAN_SLOT, i); printk(KERN_DEBUG "HDMI: ASP channel %d => slot %d\n", - slot >> 4, slot & 0x7); + slot >> 4, slot & 0xf); } #endif }