projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7779cee
)
ARM: pxafb: fix typo in ypos assignment
author
Vasily Khoruzhick
<anarsoul@gmail.com>
Fri, 11 Mar 2011 09:20:49 +0000
(11:20 +0200)
committer
Eric Miao
<eric.y.miao@gmail.com>
Wed, 16 Mar 2011 09:44:35 +0000
(17:44 +0800)
Sascha Hauer <s.hauer@pengutronix.de> pointed that
ypos takes value of xpos due to typo.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
drivers/video/pxafb.c
patch
|
blob
|
history
diff --git
a/drivers/video/pxafb.c
b/drivers/video/pxafb.c
index
e2f643e
..
a3bdcc1
100644
(file)
--- 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_
X
POS(var->nonstd);
+ ypos = NONSTD_TO_
Y
POS(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_
X
POS(var->nonstd);
+ ypos = NONSTD_TO_
Y
POS(var->nonstd);
pfor = NONSTD_TO_PFOR(var->nonstd);
ofb->control[0] = OVLxC1_PPL(var->xres) | OVLxC1_LPO(var->yres) |