diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-06-24 14:29:32 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2013-06-24 14:29:32 +0200 |
commit | 620823e2f6a11e2e8eb417b54fb4599cbc0e4707 (patch) | |
tree | 4864a0276f8502b1f5c75a7011961561ed9aa2c4 | |
parent | 8174d21e5fe0d086cb5824161c58eb065f412281 (diff) |
alsa: hda: silence extensive HDMI HDA audio messages
Avoid extensive HDMI messages during boot.
[ 30.234829] HDMI hot plug event: Codec=3 Pin=5 Presence_Detect=1 ELD_Valid=0
[ 30.253652] HDMI status: Codec=3 Pin=5 Presence_Detect=1 ELD_Valid=1
[ 32.333657] HDMI: detected monitor SyncMaster at connection type HDMI
[ 32.340116] HDMI: available speakers: FL/FR
[ 32.344616] HDMI: supports coding type LPCM: channels = 2, rates = 44100 48000 88200, bits = 16 20 24
-rw-r--r-- | sound/pci/hda/hda_eld.c | 6 | ||||
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index 862dd35260d0..e46cc984f9de 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c @@ -480,7 +480,7 @@ static void hdmi_show_short_audio_desc(struct cea_sad *a) else buf2[0] = '\0'; - printk(KERN_INFO "HDMI: supports coding type %s:" + printk(KERN_DEBUG "HDMI: supports coding type %s:" " channels = %d, rates =%s%s\n", cea_audio_coding_type_names[a->format], a->channels, @@ -504,14 +504,14 @@ void snd_hdmi_show_eld(struct hdmi_eld *e) { int i; - printk(KERN_INFO "HDMI: detected monitor %s at connection type %s\n", + printk(KERN_DEBUG "HDMI: detected monitor %s at connection type %s\n", e->monitor_name, eld_connection_type_names[e->conn_type]); if (e->spk_alloc) { char buf[SND_PRINT_CHANNEL_ALLOCATION_ADVISED_BUFSIZE]; snd_print_channel_allocation(e->spk_alloc, buf, sizeof(buf)); - printk(KERN_INFO "HDMI: available speakers:%s\n", buf); + printk(KERN_DEBUG "HDMI: available speakers:%s\n", buf); } for (i = 0; i < e->sad_count; i++) diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index 5942395099ad..ac509cd68f6f 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c @@ -702,7 +702,7 @@ static void hdmi_intrinsic_event(struct hda_codec *codec, unsigned int res) int pin_idx; struct hdmi_eld *eld; - printk(KERN_INFO + printk(KERN_DEBUG "HDMI hot plug event: Codec=%d Pin=%d Presence_Detect=%d ELD_Valid=%d\n", codec->addr, pin_nid, pd, eldv); @@ -952,7 +952,7 @@ static void hdmi_present_sense(struct hda_codec *codec, hda_nid_t pin_nid, if (eld->monitor_present) eld_valid = !!(present & AC_PINSENSE_ELDV); - printk(KERN_INFO + printk(KERN_DEBUG "HDMI status: Codec=%d Pin=%d Presence_Detect=%d ELD_Valid=%d\n", codec->addr, pin_nid, eld->monitor_present, eld_valid); |