Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/allwinner only dump regs when enabling audio if...
details: https://anonhg.NetBSD.org/src/rev/c164bc48cefd
branches: trunk
changeset: 803770:c164bc48cefd
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Nov 11 17:27:12 2014 +0000
description:
only dump regs when enabling audio if AWIN_HDMI_DEBUG
diffstat:
sys/arch/arm/allwinner/awin_hdmi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3354b1a439c2 -r c164bc48cefd sys/arch/arm/allwinner/awin_hdmi.c
--- a/sys/arch/arm/allwinner/awin_hdmi.c Tue Nov 11 17:20:43 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_hdmi.c Tue Nov 11 17:27:12 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_hdmi.c,v 1.7 2014/11/11 17:00:59 jmcneill Exp $ */
+/* $NetBSD: awin_hdmi.c,v 1.8 2014/11/11 17:27:12 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -33,7 +33,7 @@
#define AWIN_HDMI_PLL 3 /* PLL7 or PLL3 */
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.7 2014/11/11 17:00:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_hdmi.c,v 1.8 2014/11/11 17:27:12 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -727,7 +727,7 @@
val |= AWIN_HDMI_AUD_CTRL_EN;
HDMI_WRITE(sc, AWIN_HDMI_AUD_CTRL_REG, val);
-#if defined(DDB)
+#if defined(AWIN_HDMI_DEBUG) && defined(DDB)
awin_hdmi_dump_regs();
#endif
}
Home |
Main Index |
Thread Index |
Old Index