Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86797
b: refs/heads/master
c: 5619d82
h: refs/heads/master
i:
  86795: be3fe02
v: v3
  • Loading branch information
Ville Syrjala authored and Linus Torvalds committed Mar 5, 2008
1 parent 9c5ba24 commit baa5591
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5cba6d22e35a05adb28fdea191b232501518c455
refs/heads/master: 5619d823bc0e49d05618cdf955b04055b51a7de5
4 changes: 3 additions & 1 deletion trunk/drivers/video/sm501fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ static int sm501fb_set_par_common(struct fb_info *info,
break;

case 16:
info->fix.visual = FB_VISUAL_DIRECTCOLOR;
info->fix.visual = FB_VISUAL_TRUECOLOR;
break;

case 32:
Expand Down Expand Up @@ -613,6 +613,7 @@ static int sm501fb_set_par_crt(struct fb_info *info)

case 16:
control |= SM501_DC_CRT_CONTROL_16BPP;
sm501fb_setup_gamma(fbi, SM501_DC_CRT_PALETTE);
break;

case 32:
Expand Down Expand Up @@ -750,6 +751,7 @@ static int sm501fb_set_par_pnl(struct fb_info *info)

case 16:
control |= SM501_DC_PANEL_CONTROL_16BPP;
sm501fb_setup_gamma(fbi, SM501_DC_PANEL_PALETTE);
break;

case 32:
Expand Down

0 comments on commit baa5591

Please sign in to comment.