Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hdaudio Only dump ELD info if HDAFG_HDMI_DEBUG is de...
details: https://anonhg.NetBSD.org/src/rev/577aba8c7b46
branches: trunk
changeset: 1006884:577aba8c7b46
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Thu Jan 30 00:21:23 2020 +0000
description:
Only dump ELD info if HDAFG_HDMI_DEBUG is defined
diffstat:
sys/dev/hdaudio/hdafg.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 351f51e174b9 -r 577aba8c7b46 sys/dev/hdaudio/hdafg.c
--- a/sys/dev/hdaudio/hdafg.c Wed Jan 29 23:44:00 2020 +0000
+++ b/sys/dev/hdaudio/hdafg.c Thu Jan 30 00:21:23 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdafg.c,v 1.19 2020/01/18 12:00:33 jmcneill Exp $ */
+/* $NetBSD: hdafg.c,v 1.20 2020/01/30 00:21:23 jmcneill Exp $ */
/*
* Copyright (c) 2009 Precedence Technologies Ltd <support%precedence.co.uk@localhost>
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.19 2020/01/18 12:00:33 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdafg.c,v 1.20 2020/01/30 00:21:23 jmcneill Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -889,6 +889,7 @@
return;
}
+#ifdef HDAFG_HDMI_DEBUG
hda_print(sc, " ELD version=0x%x", ELD_VER(&hdi.eld));
hda_print1(sc, ",len=%u", hdi.eld.header.baseline_eld_len * 4);
hda_print1(sc, ",edid=0x%x", ELD_CEA_EDID_VER(&hdi.eld));
@@ -914,6 +915,7 @@
CEA_MAX_BITRATE(&hdi.sad[i]));
hda_print1(sc, "\n");
}
+#endif
}
}
Home |
Main Index |
Thread Index |
Old Index