Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/iomd Remove a comment no longer correct.



details:   https://anonhg.NetBSD.org/src/rev/80281ed5317f
branches:  trunk
changeset: 959179:80281ed5317f
user:      isaki <isaki%NetBSD.org@localhost>
date:      Wed Feb 03 14:22:21 2021 +0000

description:
Remove a comment no longer correct.
Because halt_output is no longer called from an interrupt context,
but that does not mean it's better to put this back to halt_output.

diffstat:

 sys/arch/arm/iomd/vidcaudio.c |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (30 lines):

diff -r f039b6081fbd -r 80281ed5317f sys/arch/arm/iomd/vidcaudio.c
--- a/sys/arch/arm/iomd/vidcaudio.c     Wed Feb 03 13:53:12 2021 +0000
+++ b/sys/arch/arm/iomd/vidcaudio.c     Wed Feb 03 14:22:21 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidcaudio.c,v 1.60 2020/02/23 04:02:45 isaki Exp $     */
+/*     $NetBSD: vidcaudio.c,v 1.61 2021/02/03 14:22:21 isaki Exp $     */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson
@@ -65,7 +65,7 @@
 
 #include <sys/param.h> /* proc.h */
 
-__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.60 2020/02/23 04:02:45 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vidcaudio.c,v 1.61 2021/02/03 14:22:21 isaki Exp $");
 
 #include <sys/audioio.h>
 #include <sys/conf.h>   /* autoconfig functions */
@@ -293,11 +293,6 @@
 
        DPRINTF(("DEBUG: vidcaudio_close called\n"));
        sc = addr;
-       /*
-        * We do this here rather than in vidcaudio_halt_output()
-        * because the latter can be called from interrupt context
-        * (audio_pint()->audio_clear()->vidcaudio_halt_output()).
-        */
        if (sc->sc_ppages != NULL) {
                free(sc->sc_ppages, M_DEVBUF);
                sc->sc_ppages = NULL;



Home | Main Index | Thread Index | Old Index