aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/pxafb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/pxafb.c')
-rw-r--r--drivers/video/pxafb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c
index 62d2dd0c1fa1..d6de84b42036 100644
--- a/drivers/video/pxafb.c
+++ b/drivers/video/pxafb.c
@@ -760,7 +760,9 @@ static void setup_smart_timing(struct pxafb_info *fbi,
760 LCCR1_HorSnchWdth(__smart_timing(t3, lclk)); 760 LCCR1_HorSnchWdth(__smart_timing(t3, lclk));
761 761
762 fbi->reg_lccr2 = LCCR2_DisHght(var->yres); 762 fbi->reg_lccr2 = LCCR2_DisHght(var->yres);
763 fbi->reg_lccr3 = LCCR3_PixClkDiv(__smart_timing(t4, lclk)); 763 fbi->reg_lccr3 = fbi->lccr3 | LCCR3_PixClkDiv(__smart_timing(t4, lclk));
764 fbi->reg_lccr3 |= (var->sync & FB_SYNC_HOR_HIGH_ACT) ? LCCR3_HSP : 0;
765 fbi->reg_lccr3 |= (var->sync & FB_SYNC_VERT_HIGH_ACT) ? LCCR3_VSP : 0;
764 766
765 /* FIXME: make this configurable */ 767 /* FIXME: make this configurable */
766 fbi->reg_cmdcr = 1; 768 fbi->reg_cmdcr = 1;