packages/utils/lcd4linux/patches/140-no_repnop_T6963.patch

25 lines
587 B
Diff
Raw Normal View History

Index: lcd4linux-847/drv_T6963.c
===================================================================
--- lcd4linux-847.orig/drv_T6963.c 2007-12-01 17:15:10.000000000 +0100
+++ lcd4linux-847/drv_T6963.c 2007-12-01 17:15:11.000000000 +0100
@@ -114,7 +114,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;
@@ -150,7 +152,9 @@
/* wait for STA3=1 */
n = 0;
do {
+#if 0
rep_nop();
+#endif
if (++n > 1000) {
debug("hang in status2");
bug = 1;