summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-11-18 12:38:00 +0800
committerTakashi Iwai <tiwai@suse.de>2009-11-18 07:37:22 +0100
commit1e7c10fefadb42d9300305c7de57bea365855e9b (patch)
tree0ed9ac354cdb3e54733477c3009f2d98d7b1a607
parent6f539a98614a014a7d6b64ab62b0dddb14e2d8cc (diff)
downloadop-kernel-dev-1e7c10fefadb42d9300305c7de57bea365855e9b.zip
op-kernel-dev-1e7c10fefadb42d9300305c7de57bea365855e9b.tar.gz
ALSA: intelhdmi - fix channel mapping slot mask
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_intelhdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_intelhdmi.c b/sound/pci/hda/patch_intelhdmi.c
index ad1aa5d..82312c6 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
}
OpenPOWER on IntegriCloud