Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/broadcom Only run interrupt during playback.
details: https://anonhg.NetBSD.org/src/rev/c468cf8d4616
branches: trunk
changeset: 348318:c468cf8d4616
user: nat <nat%NetBSD.org@localhost>
date: Fri Oct 14 20:29:45 2016 +0000
description:
Only run interrupt during playback.
OK skrll@
diffstat:
sys/arch/arm/broadcom/bcm2835_vcaudio.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5a270bb80e57 -r c468cf8d4616 sys/arch/arm/broadcom/bcm2835_vcaudio.c
--- a/sys/arch/arm/broadcom/bcm2835_vcaudio.c Fri Oct 14 19:43:59 2016 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_vcaudio.c Fri Oct 14 20:29:45 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_vcaudio.c,v 1.10 2015/07/28 21:24:43 skrll Exp $ */
+/* $NetBSD: bcm2835_vcaudio.c,v 1.11 2016/10/14 20:29:45 nat Exp $ */
/*-
* Copyright (c) 2013 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.10 2015/07/28 21:24:43 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.11 2016/10/14 20:29:45 nat Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -436,7 +436,7 @@
sched = true;
}
- if (sched) {
+ if (sched && sc->sc_pint) {
intr(intrarg);
sc->sc_abytes += sc->sc_pblksize;
cv_signal(&sc->sc_datacv);
Home |
Main Index |
Thread Index |
Old Index