aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/cirrusfb.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
index 245005e61e40..9e0a1c58fde4 100644
--- a/drivers/video/cirrusfb.c
+++ b/drivers/video/cirrusfb.c
@@ -657,7 +657,7 @@ static int cirrusfb_decode_var(const struct fb_var_screeninfo *var,
657 case 16: 657 case 16:
658 case 32: 658 case 32:
659 info->fix.line_length = var->xres_virtual * maxclockidx; 659 info->fix.line_length = var->xres_virtual * maxclockidx;
660 info->fix.visual = FB_VISUAL_DIRECTCOLOR; 660 info->fix.visual = FB_VISUAL_TRUECOLOR;
661 break; 661 break;
662 662
663 default: 663 default:
@@ -1178,10 +1178,7 @@ static int cirrusfb_set_par_foo(struct fb_info *info)
1178 1178
1179 case BT_ALPINE: 1179 case BT_ALPINE:
1180 DPRINTK(" (for GD543x)\n"); 1180 DPRINTK(" (for GD543x)\n");
1181 if (var->xres >= 1024) 1181 vga_wseq(regbase, CL_SEQR7, 0xa7);
1182 vga_wseq(regbase, CL_SEQR7, 0xa7);
1183 else
1184 vga_wseq(regbase, CL_SEQR7, 0xa3);
1185 cirrusfb_set_mclk(cinfo, regs.mclk, regs.divMCLK); 1182 cirrusfb_set_mclk(cinfo, regs.mclk, regs.divMCLK);
1186 break; 1183 break;
1187 1184