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 revert previous (turn off tcon when d...



details:   https://anonhg.NetBSD.org/src/rev/39ab61f373fc
branches:  trunk
changeset: 340895:39ab61f373fc
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Fri Oct 09 07:23:33 2015 +0000

description:
revert previous (turn off tcon when disabling video output).
I found it's better to do it in the hdmi driver, but the hdmi audio issue
needs to be fixed as well.

diffstat:

 sys/arch/arm/allwinner/awin_debe.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7b671276f485 -r 39ab61f373fc sys/arch/arm/allwinner/awin_debe.c
--- a/sys/arch/arm/allwinner/awin_debe.c        Fri Oct 09 02:00:59 2015 +0000
+++ b/sys/arch/arm/allwinner/awin_debe.c        Fri Oct 09 07:23:33 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_debe.c,v 1.15 2015/10/05 14:42:19 bouyer Exp $ */
+/* $NetBSD: awin_debe.c,v 1.16 2015/10/09 07:23:33 bouyer Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -37,7 +37,7 @@
 #define AWIN_DEBE_CURMAX       64
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.15 2015/10/05 14:42:19 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_debe.c,v 1.16 2015/10/09 07:23:33 bouyer Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -582,7 +582,6 @@
                        val &= ~AWIN_DEBE_MODCTL_HWC_EN;
                }
                DEBE_WRITE(sc, AWIN_DEBE_MODCTL_REG, val);
-               awin_tcon_enable(enable);
                return 0;
        case WSDISPLAYIO_GVIDEO:
                val = DEBE_READ(sc, AWIN_DEBE_MODCTL_REG);



Home | Main Index | Thread Index | Old Index