Skip to content

Commit

Permalink
V4L/DVB (4596): Fix saa7115 miscalculation that breaks NTSC
Browse files Browse the repository at this point in the history
This repairs a problem introduced by a commit earlier applied.
Thanks-to: Hans Verkuil <hverkuil@xs4all.nl>

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mike Isely authored and Mauro Carvalho Chehab committed Sep 26, 2006
1 parent 7f19d02 commit 22ebb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/saa7115.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ static int saa711x_set_size(struct i2c_client *client, int width, int height)

/* On 60Hz, it is using a higher Vertical Output Size */
if (!is_50hz)
res+=(480-HRES_60HZ)>>1;
res+=(HRES_60HZ-480)>>1;

/* height */
saa711x_write(client, R_CE_B_VERT_OUTPUT_WINDOW_LENGTH,
Expand Down

0 comments on commit 22ebb77

Please sign in to comment.