Re: [PATCH 2.6.19-rc1 update 2] drivers: add LCD support

From: Miguel Ojeda
Date: Thu Oct 12 2006 - 12:07:16 EST


Excuse me, also:

On 10/12/06, Paulo Marques <pmarques@xxxxxxxxxxxx> wrote:

Also, what do these "nop"'s do? Isn't there a way to read the "busy"
status from the controller and just write as fast as possible?


I found another bug that "changes" randomly the "startline" value. I
spent a _lot_ of time checking what would be the smallest way to have
the work done without any problem.

If you remove 1 of the 2 nops (after _address()), you will get some
flickering on one of the controllers, about 15 times per minute. If
you remove both, the "evil" controller do worse things.

Really, I have been trying a lot of ways to improve it and find the
explanation of that weird changes, and the best algorithm I found it
the one I have sent. Dirty, but it works safely. I also tried with
different timings and delays, but they didn't work. The only way I
found is to make the LCD do such "nop" operations.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/