Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Bound one auto-calibration loop that was missed i...
details: https://anonhg.NetBSD.org/src/rev/0725439fd0c7
branches: trunk
changeset: 477133:0725439fd0c7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Oct 12 00:16:42 1999 +0000
description:
Bound one auto-calibration loop that was missed in previous rounds of
changes.
Yay, audio on my Dell laptop works again.
diffstat:
sys/dev/ic/ad1848.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r cee7b1c16b2e -r 0725439fd0c7 sys/dev/ic/ad1848.c
--- a/sys/dev/ic/ad1848.c Mon Oct 11 23:47:55 1999 +0000
+++ b/sys/dev/ic/ad1848.c Tue Oct 12 00:16:42 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ad1848.c,v 1.7 1999/10/05 03:35:12 itohy Exp $ */
+/* $NetBSD: ad1848.c,v 1.8 1999/10/12 00:16:42 thorpej Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -1140,8 +1140,10 @@
* Write to I8 starts resyncronization. Wait until it completes.
*/
timeout = 100000;
- while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)
+ while (timeout > 0 && ADREAD(sc, AD1848_IADDR) == SP_IN_INIT) {
+ delay(10);
timeout--;
+ }
if (ADREAD(sc, AD1848_IADDR) == SP_IN_INIT)
printf("ad1848_commit: Auto calibration timed out\n");
Home |
Main Index |
Thread Index |
Old Index