Applied. On Fri, Mar 11, 2011 at 5:20 PM, Vasily Khoruzhick <anarsoul@xxxxxxxxx> wrote: > Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> pointed that > ypos takes value of xpos due to typo. > > Signed-off-by: Vasily Khoruzhick <anarsoul@xxxxxxxxx> > --- > Âdrivers/video/pxafb.c | Â Â4 ++-- > Â1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c > index e2f643e..a3bdcc1 100644 > --- a/drivers/video/pxafb.c > +++ b/drivers/video/pxafb.c > @@ -761,7 +761,7 @@ static int overlayfb_check_var(struct fb_var_screeninfo *var, > Â Â Â Âint xpos, ypos, pfor, bpp; > > Â Â Â Âxpos = NONSTD_TO_XPOS(var->nonstd); > - Â Â Â ypos = NONSTD_TO_XPOS(var->nonstd); > + Â Â Â ypos = NONSTD_TO_YPOS(var->nonstd); > Â Â Â Âpfor = NONSTD_TO_PFOR(var->nonstd); > > Â Â Â Âbpp = pxafb_var_to_bpp(var); > @@ -842,7 +842,7 @@ static int overlayfb_set_par(struct fb_info *info) > > Â Â Â Âbpp Â= pxafb_var_to_bpp(var); > Â Â Â Âxpos = NONSTD_TO_XPOS(var->nonstd); > - Â Â Â ypos = NONSTD_TO_XPOS(var->nonstd); > + Â Â Â ypos = NONSTD_TO_YPOS(var->nonstd); > Â Â Â Âpfor = NONSTD_TO_PFOR(var->nonstd); > > Â Â Â Âofb->control[0] = OVLxC1_PPL(var->xres) | OVLxC1_LPO(var->yres) | > -- > 1.7.4.1 > > -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html