projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e11206e
)
V4L/DVB (12241): mt9v011: Fix vstart
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 14 Jul 2009 05:39:19 +0000
(
02:39
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:25 +0000
(14:03 -0300)
vstart calculus were wrong. Fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9v011.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mt9v011.c
b/drivers/media/video/mt9v011.c
index
f7b5279
..
d7b15dd
100644
(file)
--- a/
drivers/media/video/mt9v011.c
+++ b/
drivers/media/video/mt9v011.c
@@
-202,7
+202,7
@@
static void set_res(struct v4l2_subdev *sd)
mt9v011_write(sd, R04_MT9V011_WIDTH, core->width);
mt9v011_write(sd, R05_MT9V011_HBLANK, 771 - core->width);
- vstart = 8 + (
64
0 - core->height) / 2;
+ vstart = 8 + (
48
0 - core->height) / 2;
mt9v011_write(sd, R01_MT9V011_ROWSTART, vstart);
mt9v011_write(sd, R03_MT9V011_HEIGHT, core->height);
mt9v011_write(sd, R06_MT9V011_VBLANK, 508 - core->height);