]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[VIDEO] ffb: Fix two DAC handling bugs.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Mar 2007 06:18:09 +0000 (23:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 27 Mar 2007 06:18:09 +0000 (23:18 -0700)
commit37db9a348ad4250bd6009cec1bb108a653d1d220
tree1e8785cfb31001481527933bcafe172c740d2495
parent74e61dee2a98b5e538ee1448ca803fc0ad8e307f
[VIDEO] ffb: Fix two DAC handling bugs.

The determination of whether the DAC has inverted cursor logic is
broken, import the version checks the X.org driver uses to fix this.

Next, when we change the timing generator, borrow code from X.org that
does 10 NOP reads of the timing generator register afterwards to make
sure the video-enable transition occurs cleanly.

Finally, use macros for the DAC registers and fields in order to
provide documentation for the next person who reads this code.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/ffb.c