packages/utils/lcd4linux/patches/140-no_repnop_T6963.patch
olli bf2c89aa7a [Packages] utils/lcd4linux:
* Update to lcd4linux trunk revision 847
 * Add an simple init script and config file
 * Cleanup Makefile

git-svn-id: svn://svn.openwrt.org/openwrt/packages@9646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-02 21:24:04 +00:00

25 lines
587 B
Diff

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;