]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
VIDEO: Fix FFB DAC revision probing
authorDavid Miller <davem@davemloft.net>
Thu, 29 Mar 2007 19:16:27 +0000 (12:16 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 6 Apr 2007 10:43:13 +0000 (03:43 -0700)
commitcb8b4fce39de35071349352c004d930bf9266624
treefb118fbcd1a8d1a5de95cdffd400389adc9e4430
parent4eb3dd593742225da375596564aca6aca2470999
VIDEO: Fix FFB DAC revision probing

[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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/video/ffb.c