diff options
author | Anssi Hannula <anssi.hannula@iki.fi> | 2013-10-04 19:25:44 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-10-07 06:49:25 -0400 |
commit | 980b24958f0c615fd003d37f0fce4ab1ecd01784 (patch) | |
tree | eb8f9e89f7a50dadb1db87a7d2d6768c14f8b0b1 /sound | |
parent | bb731f2100e614a8d7c5965d3663aed893859733 (diff) |
ALSA: hda - hdmi: Tweak debug messages to be more useful
Allow channel map debugging for both automatic and manual channel maps,
and print CA always when updating infoframe.
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 62b1e852d002..00e041333904 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -637,8 +637,6 @@ static void hdmi_std_setup_channel_mapping(struct hda_codec *codec, | |||
637 | break; | 637 | break; |
638 | } | 638 | } |
639 | } | 639 | } |
640 | |||
641 | hdmi_debug_channel_mapping(codec, pin_nid); | ||
642 | } | 640 | } |
643 | 641 | ||
644 | struct channel_map_table { | 642 | struct channel_map_table { |
@@ -793,6 +791,8 @@ static void hdmi_setup_channel_mapping(struct hda_codec *codec, | |||
793 | hdmi_std_setup_channel_mapping(codec, pin_nid, non_pcm, ca); | 791 | hdmi_std_setup_channel_mapping(codec, pin_nid, non_pcm, ca); |
794 | hdmi_setup_fake_chmap(map, ca); | 792 | hdmi_setup_fake_chmap(map, ca); |
795 | } | 793 | } |
794 | |||
795 | hdmi_debug_channel_mapping(codec, pin_nid); | ||
796 | } | 796 | } |
797 | 797 | ||
798 | /* | 798 | /* |
@@ -983,9 +983,9 @@ static void hdmi_setup_audio_infoframe(struct hda_codec *codec, | |||
983 | if (!hdmi_infoframe_uptodate(codec, pin_nid, ai.bytes, | 983 | if (!hdmi_infoframe_uptodate(codec, pin_nid, ai.bytes, |
984 | sizeof(ai))) { | 984 | sizeof(ai))) { |
985 | snd_printdd("hdmi_setup_audio_infoframe: " | 985 | snd_printdd("hdmi_setup_audio_infoframe: " |
986 | "pin=%d channels=%d\n", | 986 | "pin=%d channels=%d ca=0x%02x\n", |
987 | pin_nid, | 987 | pin_nid, |
988 | active_channels); | 988 | active_channels, ca); |
989 | hdmi_setup_channel_mapping(codec, pin_nid, non_pcm, ca, | 989 | hdmi_setup_channel_mapping(codec, pin_nid, non_pcm, ca, |
990 | channels, per_pin->chmap, | 990 | channels, per_pin->chmap, |
991 | per_pin->chmap_set); | 991 | per_pin->chmap_set); |