packages/utils/lcd4linux/patches/140-no_repnop_T6963.patch
olli 5b28541f6b lcd4linux: fix compile (#1981)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-07 12:58:47 +00:00

25 lines
637 B
Diff

Index: lcd4linux-0.10.0+cvs20051015.orig/drv_T6963.c
===================================================================
--- lcd4linux-0.10.0+cvs20051015.orig.orig/drv_T6963.c 2007-07-07 14:02:55.000000000 +0200
+++ lcd4linux-0.10.0+cvs20051015.orig/drv_T6963.c 2007-07-07 14:02:57.000000000 +0200
@@ -170,7 +170,9 @@
/* wait for STA0=1 and STA1=1 */
n = 0;
do {
+#if 0
rep_nop();
+#endif
if (++n > 1000) {
debug("hang in status1");
bug = 1;
@@ -206,7 +208,9 @@
/* wait for STA3=1 */
n = 0;
do {
+#if 0
rep_nop();
+#endif
if (++n > 1000) {
debug("hang in status2");
bug = 1;