Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344501
b: refs/heads/master
c: 352d613
h: refs/heads/master
i:
  344499: ce7150c
v: v3
  • Loading branch information
Laurent Pinchart committed Nov 21, 2012
1 parent 6cfa605 commit 5ec78a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 856e8dfe6efed7cf35bc6bf827f030a164bee083
refs/heads/master: 352d6138779e22c5340803d5a32fc332ad2e5e1d
6 changes: 3 additions & 3 deletions trunk/drivers/video/sh_mobile_lcdcfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2187,7 +2187,7 @@ sh_mobile_lcdc_channel_fb_cleanup(struct sh_mobile_lcdc_chan *ch)

static int __devinit
sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch,
const struct fb_videomode *mode,
const struct fb_videomode *modes,
unsigned int num_modes)
{
struct sh_mobile_lcdc_priv *priv = ch->lcdc;
Expand All @@ -2213,7 +2213,7 @@ sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch,
info->pseudo_palette = &ch->pseudo_palette;
info->par = ch;

fb_videomode_to_modelist(mode, num_modes, &info->modelist);
fb_videomode_to_modelist(modes, num_modes, &info->modelist);

ret = fb_alloc_cmap(&info->cmap, PALETTE_NR, 0);
if (ret < 0) {
Expand Down Expand Up @@ -2247,7 +2247,7 @@ sh_mobile_lcdc_channel_fb_init(struct sh_mobile_lcdc_chan *ch,
* default.
*/
var = &info->var;
fb_videomode_to_var(var, mode);
fb_videomode_to_var(var, modes);
var->width = ch->display.width;
var->height = ch->display.height;
var->xres_virtual = ch->xres_virtual;
Expand Down

0 comments on commit 5ec78a3

Please sign in to comment.