aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/via/hw.c
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-23 22:24:52 +0000
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2011-04-23 22:24:52 +0000
commitc5a4e6d725654045e548b1a1f33059a44a06910f (patch)
tree6b22672f07fe004f71137abad8308c8e0673a638 /drivers/video/via/hw.c
parent32fab7bcc79ee0b97277627f456c94202858d851 (diff)
downloadkernel_samsung_smdk4412-c5a4e6d725654045e548b1a1f33059a44a06910f.zip
kernel_samsung_smdk4412-c5a4e6d725654045e548b1a1f33059a44a06910f.tar.gz
kernel_samsung_smdk4412-c5a4e6d725654045e548b1a1f33059a44a06910f.tar.bz2
viafb: reduce OLPC refresh a bit
When allowing some PLL calculation we get a frequency that seems to be a bit higher than what the OLPC DCON likes resulting in a still readable but not so good image. We don't really know whether this is a problem with the calculation formula or the OLPC but as other displays seem to be happy with the other modes adjusting the OLPC refresh looks like the better thing. This patch prevents a regression when dynamic PLL calculation is allowed. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/via/hw.c')
-rw-r--r--drivers/video/via/hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c
index b8f0110..56ad185 100644
--- a/drivers/video/via/hw.c
+++ b/drivers/video/via/hw.c
@@ -2605,7 +2605,7 @@ int viafb_get_refresh(int hres, int vres, u32 long_refresh)
if (abs(best->refresh_rate - long_refresh) > 3) {
if (hres == 1200 && vres == 900)
- return 50; /* OLPC DCON only supports 50 Hz */
+ return 49; /* OLPC DCON only supports 50 Hz */
else
return 60;
}