Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187009
b: refs/heads/master
c: 2abbf43
h: refs/heads/master
i:
  187007: 1e27aab
v: v3
  • Loading branch information
Wu Fengguang authored and Takashi Iwai committed Mar 8, 2010
1 parent 20e8e66 commit 63bef86
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 079d88ccc374d2c1a850b8a83595ba4c907fb3df
refs/heads/master: 2abbf4391fb56dfa97221ed6796782537d15196f
12 changes: 8 additions & 4 deletions trunk/sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,8 @@ static int hdmi_setup_channel_allocation(struct hda_codec *codec, hda_nid_t nid,
}

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

return ai->CA;
}
Expand Down Expand Up @@ -442,7 +441,8 @@ static void hdmi_setup_channel_mapping(struct hda_codec *codec,
AC_VERB_SET_HDMI_CHAN_SLOT,
hdmi_channel_mapping[ca][i]);
if (err) {
snd_printdd(KERN_INFO "HDMI: channel mapping failed\n");
snd_printdd(KERN_NOTICE
"HDMI: channel mapping failed\n");
break;
}
}
Expand Down Expand Up @@ -599,6 +599,10 @@ static void hdmi_setup_audio_infoframe(struct hda_codec *codec, hda_nid_t nid,

pin_nid = spec->pin[i];
if (!hdmi_infoframe_uptodate(codec, pin_nid, &ai)) {
snd_printdd("hdmi_setup_audio_infoframe: "
"cvt=%d pin=%d channels=%d\n",
nid, pin_nid,
substream->runtime->channels);
hdmi_setup_channel_mapping(codec, pin_nid, &ai);
hdmi_stop_infoframe_trans(codec, pin_nid);
hdmi_fill_audio_infoframe(codec, pin_nid, &ai);
Expand Down

0 comments on commit 63bef86

Please sign in to comment.