Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120491
b: refs/heads/master
c: cc02b83
h: refs/heads/master
i:
  120489: 6d026b5
  120487: 32831ca
v: v3
  • Loading branch information
Wu Fengguang authored and Takashi Iwai committed Nov 22, 2008
1 parent 0907c16 commit 6eab016
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b83923a3931a43df7397a7491f0c9d9b9d46624a
refs/heads/master: cc02b83c904592ce8714787094256a9bf8e24b6f
10 changes: 6 additions & 4 deletions trunk/sound/pci/hda/patch_intelhdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,16 @@ static int hdmi_setup_channel_allocation(struct hda_codec *codec,
(spk_mask & channel_allocations[i].spk_mask) ==
channel_allocations[i].spk_mask) {
ai->CA = channel_allocations[i].ca_index;
return 0;
break;
}
}

snd_print_channel_allocation(eld->spk_alloc, buf, sizeof(buf));
snd_printd(KERN_INFO "failed to setup channel allocation: %d of %s\n",
channels, buf);
return -1;
snd_printdd(KERN_INFO
"HDMI: select CA 0x%x for %d-channel allocation: %s\n",
ai->CA, channels, buf);

return ai->CA;
}

static void hdmi_setup_channel_mapping(struct hda_codec *codec,
Expand Down

0 comments on commit 6eab016

Please sign in to comment.