Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6-1]: src/sys/arch/arm/broadcom Pull up following revision(s) (re...



details:   https://anonhg.NetBSD.org/src/rev/bfeef8e8507c
branches:  netbsd-6-1
changeset: 776028:bfeef8e8507c
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Dec 21 20:21:10 2014 +0000

description:
Pull up following revision(s) (requested by nat in ticket #1214):
        sys/arch/arm/broadcom/bcm2835_tmr.c: revision 1.4
Clear status of BCM2835_STIMER_M3 only as timer comparison reg 0 and 2
are used by the VideoCore on Raspberry Pi.  This fixes audio playback.
Addresses PR 48805.
This commit was approved by skrll@

diffstat:

 sys/arch/arm/broadcom/bcm2835_tmr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3cfc39ee4707 -r bfeef8e8507c sys/arch/arm/broadcom/bcm2835_tmr.c
--- a/sys/arch/arm/broadcom/bcm2835_tmr.c       Sun Dec 21 19:06:33 2014 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_tmr.c       Sun Dec 21 20:21:10 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcm2835_tmr.c,v 1.1.2.4 2013/02/13 01:36:14 riz Exp $  */
+/*     $NetBSD: bcm2835_tmr.c,v 1.1.2.4.2.1 2014/12/21 20:21:10 msaitoh Exp $  */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.1.2.4 2013/02/13 01:36:14 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_tmr.c,v 1.1.2.4.2.1 2014/12/21 20:21:10 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -201,7 +201,7 @@
        if (!(status & BCM2835_STIMER_M3))
                return 0;
 
-       bus_space_write_4(sc->sc_iot, sc->sc_ioh, BCM2835_STIMER_CS, status);
+       bus_space_write_4(sc->sc_iot, sc->sc_ioh, BCM2835_STIMER_CS, BCM2835_STIMER_M3);
 
        hardclock(frame);
 



Home | Main Index | Thread Index | Old Index