Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Reset audio chip on device open.



details:   https://anonhg.NetBSD.org/src/rev/3300fc577917
branches:  trunk
changeset: 481416:3300fc577917
user:      pk <pk%NetBSD.org@localhost>
date:      Fri Jan 28 15:49:44 2000 +0000

description:
Reset audio chip on device open.

diffstat:

 sys/dev/ic/cs4231.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0c8cedbf640c -r 3300fc577917 sys/dev/ic/cs4231.c
--- a/sys/dev/ic/cs4231.c       Fri Jan 28 15:47:18 2000 +0000
+++ b/sys/dev/ic/cs4231.c       Fri Jan 28 15:49:44 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cs4231.c,v 1.1 1999/06/05 14:29:10 mrg Exp $   */
+/*     $NetBSD: cs4231.c,v 1.2 2000/01/28 15:49:44 pk Exp $    */
 
 /*-
  * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
@@ -317,8 +317,8 @@
        delay(10);
        dma->dmacsr = 0;
        delay(10);
+#endif
        ad1848_reset(&sc->sc_ad1848);
-#endif
 
        DPRINTF(("saopen: ok -> sc=%p\n", sc));
        return (0);



Home | Main Index | Thread Index | Old Index