aboutsummaryrefslogtreecommitdiffstats
path: root/udelay.c
diff options
context:
space:
mode:
authorreinelt <>2002-08-21 06:09:53 +0000
committerreinelt <>2002-08-21 06:09:53 +0000
commit663370ce872a8003c9175771b2444b933424e52c (patch)
treea7fe2177cc3526f059b0c7a6987e47420e170684 /udelay.c
parent71660546bccbf32c4fd3ddec8d1b5ffd50007402 (diff)
downloadlcd4linux-663370ce872a8003c9175771b2444b933424e52c.tar.gz
[lcd4linux @ 2002-08-21 06:09:53 by reinelt]
some T6963 fixes, ndelay wrap
Diffstat (limited to 'udelay.c')
-rw-r--r--udelay.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/udelay.c b/udelay.c
index 2180f66..6077dd0 100644
--- a/udelay.c
+++ b/udelay.c
@@ -1,4 +1,4 @@
-/* $Id: udelay.c,v 1.8 2002/08/17 14:14:21 reinelt Exp $
+/* $Id: udelay.c,v 1.9 2002/08/21 06:09:53 reinelt Exp $
*
* short delays
*
@@ -20,6 +20,9 @@
*
*
* $Log: udelay.c,v $
+ * Revision 1.9 2002/08/21 06:09:53 reinelt
+ * some T6963 fixes, ndelay wrap
+ *
* Revision 1.8 2002/08/17 14:14:21 reinelt
*
* USBLCD fixes
@@ -246,10 +249,14 @@ void ndelay (unsigned long nsec)
do {
rep_nop();
rdtscl(t2);
+ // Fixme
+ if (t2<t1) {
+ debug ("ndelay wrap: t1=%d t2=%d", t1, t2);
+ }
} while ((t2-t1)<nsec);
} else
-
+
#endif
{