]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[VIDEO] ffb: Fix two DAC handling bugs.
authorDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2007 23:50:31 +0000 (01:50 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 2 Apr 2007 23:50:31 +0000 (01:50 +0200)
commitcceec5186fce242e095dc5e9496841df5d4133b9
treef5d574f9c487e768bd35f348c0930f72c2b0f2c7
parentb54ee521eb1835b8565f4d0bc9a40e254ad3bb30
[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: Adrian Bunk <bunk@stusta.de>
drivers/video/ffb.c