ALSA: intelhdmi - fix channel mapping slot mask
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 18 Nov 2009 04:38:00 +0000 (12:38 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 Nov 2009 06:37:22 +0000 (07:37 +0100)
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_intelhdmi.c

index ad1aa5d87ddab8881abaf4b2c8cdc0bf510b6357..82312c67f8dd1be83378a4bc048fb1369ba27caa 100644 (file)
@@ -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
 }