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 AWIN_HDMI_ADMA_CTRL_FIFO_CLEAR causes...
details: https://anonhg.NetBSD.org/src/rev/878321649f99
branches: trunk
changeset: 333626:878321649f99
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Tue Nov 11 17:14:38 2014 +0000
description:
AWIN_HDMI_ADMA_CTRL_FIFO_CLEAR causes playback to stop working, dont set it
diffstat:
sys/arch/arm/allwinner/awin_hdmiaudio.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diffs (32 lines):
diff -r 6a03406e273f -r 878321649f99 sys/arch/arm/allwinner/awin_hdmiaudio.c
--- a/sys/arch/arm/allwinner/awin_hdmiaudio.c Tue Nov 11 17:01:27 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_hdmiaudio.c Tue Nov 11 17:14:38 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_hdmiaudio.c,v 1.1 2014/11/11 17:00:59 jmcneill Exp $ */
+/* $NetBSD: awin_hdmiaudio.c,v 1.2 2014/11/11 17:14:38 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_hdmiaudio.c,v 1.1 2014/11/11 17:00:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_hdmiaudio.c,v 1.2 2014/11/11 17:14:38 jmcneill Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -361,13 +361,6 @@
static int
awin_hdmiaudio_drain(void *priv)
{
- struct awin_hdmiaudio_softc *sc = priv;
- uint32_t val;
-
- val = HDMIAUDIO_READ(sc, AWIN_HDMI_ADMA_CTRL_REG);
- val |= AWIN_HDMI_ADMA_CTRL_FIFO_CLEAR;
- HDMIAUDIO_WRITE(sc, AWIN_HDMI_ADMA_CTRL_REG, val);
-
return 0;
}
Home |
Main Index |
Thread Index |
Old Index