lxfb: Program panel v/h sync output polarity correctly
authorDaniel Drake <dsd@laptop.org>
Sun, 14 Nov 2010 14:12:31 +0000 (14:12 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 17 Nov 2010 05:55:46 +0000 (14:55 +0900)
commitad913da61aeb267ac99a649834a0cb1a963d7ec2
treef5efa0c8b940b8b50a05d580e58569e85dd28962
parent1e7c7804884fc5751e3872f13498fd533325f8b2
lxfb: Program panel v/h sync output polarity correctly

Commit b5c26f97ec4a17c65 introduced some breakage for the OLPC XO-1 laptop,
differences in the output video signal after the patch caused some problems
with the XO's display controller chip.

Reviewing of that commit against the AMD Geode LX Data Book, it seems
that these bits were being set inversely. In both cases, active high
output is denoted by a value of 0. See section 6.8.3.44 of the databook
from February 2009 (Publication ID: 33234H)

Signed-off-by: Daniel Drake <dsd@laptop.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/geode/lxfb_ops.c