Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/gsc harmony.c: expand and correct a couple of ...



details:   https://anonhg.NetBSD.org/src/rev/5bad8483fc73
branches:  trunk
changeset: 366115:5bad8483fc73
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Sun May 15 00:25:15 2022 +0000

description:
harmony.c: expand and correct a couple of comments

diffstat:

 sys/arch/hppa/gsc/harmony.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 13dfdd6b71f0 -r 5bad8483fc73 sys/arch/hppa/gsc/harmony.c
--- a/sys/arch/hppa/gsc/harmony.c       Sun May 15 00:24:14 2022 +0000
+++ b/sys/arch/hppa/gsc/harmony.c       Sun May 15 00:25:15 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: harmony.c,v 1.10 2021/02/04 15:08:44 isaki Exp $       */
+/*     $NetBSD: harmony.c,v 1.11 2022/05/15 00:25:15 gutteridge Exp $  */
 
 /*     $OpenBSD: harmony.c,v 1.23 2004/02/13 21:28:19 mickey Exp $     */
 
@@ -136,7 +136,10 @@
        .get_locks              = harmony_get_locks,
 };
 
-/* The HW actually supports more frequencies, but these looks enough. */
+/*
+ * The HW actually supports more frequencies, but these are the standard ones.
+ * For the full list, see the definition of harmony_speeds below.
+ */
 #define HARMONY_FORMAT(enc, prec) \
        { \
                .mode           = AUMODE_PLAY | AUMODE_RECORD, \
@@ -343,7 +346,7 @@
        /* start reset */
        WRITE_REG(sc, HARMONY_RESET, RESET_RST);
 
-       DELAY(100000);          /* wait at least 0.05 sec */
+       DELAY(100000);          /* wait at least 0.1 sec */
 
        harmony_set_gainctl(sc);
        WRITE_REG(sc, HARMONY_RESET, 0);



Home | Main Index | Thread Index | Old Index