diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index a96403a828af..2dc47c53d379 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -878,9 +878,13 @@ static void hdmi_setup_fake_chmap(unsigned char *map, int ca) { int i; int ordered_ca = get_channel_allocation_order(ca); + printk(KERN_INFO "CA XX %d => %d\n", ca, ordered_ca); for (i = 0; i < 8; i++) { if (i < channel_allocations[ordered_ca].channels) + { + printk(KERN_INFO "XX hdmi_map %02x\n", hdmi_channel_mapping[ca][i]); map[i] = from_cea_slot(ordered_ca, hdmi_channel_mapping[ca][i] & 0x0f); + } else map[i] = 0; }