From: Daniel Drake Date: Mon, 21 Nov 2011 15:05:56 +0000 (+0000) Subject: viafb: correct sync polarity for OLPC DCON X-Git-Tag: v3.2-rc4~22^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=a32839696a8eef813a1aff604fbad9a32dff6c95;hp=50084842cc24b69c7d1cccb20c737ee611dc9c5a viafb: correct sync polarity for OLPC DCON While the OLPC display appears to be able to handle either positive or negative sync, the Display Controller only recognises positive sync. This brings viafb (for XO-1.5) in line with lxfb (for XO-1) and fixes a recent regression where the XO-1.5 DCON could no longer be frozen. Thanks to Florian Tobias Schandinat for helping identify the fix. Test case: from a vt, echo 1 > /sys/devices/platform/dcon/freeze should cause the current screen contents to freeze, rather than garbage being displayed. Signed-off-by: Daniel Drake Signed-off-by: Florian Tobias Schandinat Cc: stable@kernel.org --- Reading git-diff-tree failed