summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7115.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-09-02 20:33:02 -0500
committerMike Isely <isely@pobox.com>2006-09-02 20:33:02 -0500
commitb089838f894aeee7c67c697cf4991b1ac2d53058 (patch)
treea289d13c61004e471650977f4c7615481f1b88cd /linux/drivers/media/video/saa7115.c
parentfd2e835028e83542e4656d6a2ec821337e8125e3 (diff)
downloadmediapointer-dvb-s2-b089838f894aeee7c67c697cf4991b1ac2d53058.tar.gz
mediapointer-dvb-s2-b089838f894aeee7c67c697cf4991b1ac2d53058.tar.bz2
Fix saa7115 miscalculation that breaks NTSC
From: Mike Isely <isely@pobox.com> This repairs a problem introduced by a commit earlier today from Mauro. Hans Verkuil gets the credit for solving this. I'm committing it now because (a) nobody else has and (b) I'm stuck without it. Thanks-to: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/saa7115.c')
-rw-r--r--linux/drivers/media/video/saa7115.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7115.c b/linux/drivers/media/video/saa7115.c
index 8603e2140..985884697 100644
--- a/linux/drivers/media/video/saa7115.c
+++ b/linux/drivers/media/video/saa7115.c
@@ -862,7 +862,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,