diff options
author | reinelt <> | 2002-08-21 06:09:53 +0000 |
---|---|---|
committer | reinelt <> | 2002-08-21 06:09:53 +0000 |
commit | 663370ce872a8003c9175771b2444b933424e52c (patch) | |
tree | a7fe2177cc3526f059b0c7a6987e47420e170684 /udelay.c | |
parent | 71660546bccbf32c4fd3ddec8d1b5ffd50007402 (diff) | |
download | lcd4linux-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.c | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 { |